:root {
  color-scheme: light;
  --ink: #13235f;
  --muted: #665b86;
  --paper: #fff6ef;
  --surface: #fffaf7;
  --surface-strong: #efe6ff;
  --line: #d8c8ff;
  --teal: #2fd0b0;
  --teal-dark: #16706b;
  --coral: #ff765f;
  --yellow: #ffd16f;
  --blue: #143985;
  --violet: #7561c8;
  --violet-dark: #4f4599;
  --lavender: #bba6f3;
  --lavender-soft: #eadfff;
  --cream: #fff3eb;
  --shadow: 0 24px 70px rgb(92 75 160 / 18%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgb(190 210 255 / 62%), transparent 25rem),
    radial-gradient(circle at 92% 2%, rgb(225 190 255 / 62%), transparent 24rem),
    linear-gradient(180deg, var(--paper), #fffaf6 52%, #f3ecff 100%);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.wrap {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1140px, calc(100% - 28px));
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgb(117 97 200 / 18%);
  border-radius: 8px;
  background: rgb(255 250 247 / 78%);
  color: var(--blue);
  box-shadow: 0 18px 42px rgb(92 75 160 / 10%);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 240ms ease;
}

.site-header.is-scrolled {
  border-color: rgb(117 97 200 / 22%);
  background: rgb(255 250 247 / 92%);
  color: var(--blue);
  box-shadow: 0 18px 40px rgb(92 75 160 / 14%);
}

.site-header.is-hidden {
  transform: translateX(-50%) translateY(calc(-100% - 24px));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: inherit;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

.header-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 8px;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgb(117 97 200 / 10%);
}

.site-header.is-scrolled .nav-links a:hover {
  background: rgb(117 97 200 / 12%);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 4px;
  border: 1px solid rgb(117 97 200 / 18%);
  border-radius: 8px;
  background: rgb(255 255 255 / 42%);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.language-switcher.is-switching {
  box-shadow: 0 10px 22px rgb(117 97 200 / 16%);
}

.site-header.is-scrolled .language-switcher {
  border-color: rgb(117 97 200 / 20%);
  background: rgb(117 97 200 / 6%);
}

.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 62px;
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.language-button:hover,
.language-button.is-active {
  background: rgb(117 97 200 / 14%);
}

.language-switcher.is-switching .language-button.is-active {
  transform: scale(0.94);
}

.site-header.is-scrolled .language-button:hover,
.site-header.is-scrolled .language-button.is-active {
  background: rgb(117 97 200 / 14%);
}

.flag {
  display: inline-block;
  width: 22px;
  height: 15px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 2px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 1px 2px rgb(0 0 0 / 18%);
  flex: 0 0 auto;
}

.flag--tr {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23e30a17'/%3E%3Ccircle cx='12' cy='10' r='5.2' fill='%23fff'/%3E%3Ccircle cx='13.6' cy='10' r='4.1' fill='%23e30a17'/%3E%3Cpolygon points='20.4,10 24.1,8.8 21.8,12 21.8,8 24.1,11.2' fill='%23fff'/%3E%3C/svg%3E");
}

.flag--us {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 20'%3E%3Cpath fill='%23b22234' d='M0 0h38v20H0z'/%3E%3Cpath stroke='%23fff' stroke-width='1.54' d='M0 2.3h38M0 5.4h38M0 8.5h38M0 11.5h38M0 14.6h38M0 17.7h38'/%3E%3Cpath fill='%233c3b6e' d='M0 0h15.2v10.8H0z'/%3E%3Cg fill='%23fff'%3E%3Ccircle cx='2.2' cy='1.8' r='.45'/%3E%3Ccircle cx='5.1' cy='1.8' r='.45'/%3E%3Ccircle cx='8' cy='1.8' r='.45'/%3E%3Ccircle cx='10.9' cy='1.8' r='.45'/%3E%3Ccircle cx='13.8' cy='1.8' r='.45'/%3E%3Ccircle cx='3.6' cy='3.6' r='.45'/%3E%3Ccircle cx='6.5' cy='3.6' r='.45'/%3E%3Ccircle cx='9.4' cy='3.6' r='.45'/%3E%3Ccircle cx='12.3' cy='3.6' r='.45'/%3E%3Ccircle cx='2.2' cy='5.4' r='.45'/%3E%3Ccircle cx='5.1' cy='5.4' r='.45'/%3E%3Ccircle cx='8' cy='5.4' r='.45'/%3E%3Ccircle cx='10.9' cy='5.4' r='.45'/%3E%3Ccircle cx='13.8' cy='5.4' r='.45'/%3E%3Ccircle cx='3.6' cy='7.2' r='.45'/%3E%3Ccircle cx='6.5' cy='7.2' r='.45'/%3E%3Ccircle cx='9.4' cy='7.2' r='.45'/%3E%3Ccircle cx='12.3' cy='7.2' r='.45'/%3E%3Ccircle cx='2.2' cy='9' r='.45'/%3E%3Ccircle cx='5.1' cy='9' r='.45'/%3E%3Ccircle cx='8' cy='9' r='.45'/%3E%3Ccircle cx='10.9' cy='9' r='.45'/%3E%3Ccircle cx='13.8' cy='9' r='.45'/%3E%3C/g%3E%3C/svg%3E");
}

.language-code {
  line-height: 1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(350px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: 88svh;
  overflow: hidden;
  padding: 116px max(20px, calc((100vw - 1140px) / 2)) 66px;
  background:
    radial-gradient(circle at 4% 4%, rgb(192 211 255 / 80%), transparent 20rem),
    radial-gradient(circle at 96% 0%, rgb(222 188 255 / 78%), transparent 21rem),
    radial-gradient(circle at 84% 83%, rgb(255 209 111 / 32%), transparent 18rem),
    linear-gradient(135deg, #fff6ef 0%, #fffaf7 48%, #efe6ff 100%);
  color: var(--blue);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 74%, rgb(117 97 200 / 18%) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 28%, rgb(255 209 111 / 44%) 0 2px, transparent 3px);
  background-size: 86px 86px, 110px 110px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 88%, transparent);
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  max-width: 750px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 950px;
  margin: 14px 0 0;
  color: var(--blue);
  font-size: clamp(2.6rem, 5vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 710px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 2px solid rgb(117 97 200 / 22%);
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button--primary {
  border-color: transparent;
  background: var(--violet);
  color: #fff;
  box-shadow: 0 14px 28px rgb(117 97 200 / 24%);
}

.button--ghost {
  color: var(--blue);
  background: rgb(255 255 255 / 54%);
}

.button--demo,
.button--download {
  border-color: rgb(47 208 176 / 24%);
  background: linear-gradient(135deg, var(--teal), #79c8ff);
  color: #0b2357;
  box-shadow: 0 14px 28px rgb(47 208 176 / 22%);
}

.hero-scene {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  min-height: min(58vw, 610px);
  opacity: 1;
}

.mascot-stage {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 0.9;
  margin-inline: auto;
  border: 3px solid rgb(187 166 243 / 64%);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 18%, rgb(255 255 255 / 85%), transparent 10rem),
    linear-gradient(180deg, rgb(255 250 247 / 82%), rgb(234 223 255 / 72%));
  box-shadow: 0 28px 80px rgb(92 75 160 / 20%);
  animation: floatPhone 7s ease-in-out infinite;
}

.mascot-glow {
  position: absolute;
  inset: 27% 14% 9%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(187 166 243 / 44%), transparent 68%);
  filter: blur(4px);
}

.hero-mascot {
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: min(330px, 72%);
  transform: translateX(-50%);
  filter: drop-shadow(0 24px 22px rgb(79 69 153 / 25%));
  animation: mascotBounce 3.6s ease-in-out infinite;
}

.catudy-badge {
  position: absolute;
  top: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(390px, calc(100% - 48px));
  min-height: 74px;
  padding: 10px 16px;
  border: 3px solid rgb(187 166 243 / 70%);
  border-radius: 28px;
  background: rgb(255 250 247 / 78%);
  color: var(--blue);
  font-weight: 900;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.catudy-badge img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.poster-star,
.poster-heart {
  position: absolute;
  z-index: 2;
  color: var(--yellow);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.poster-star--one {
  left: 26px;
  top: 24%;
}

.poster-star--two {
  right: 34px;
  bottom: 20%;
  color: var(--lavender);
}

.poster-heart {
  right: 40px;
  top: 42%;
  color: rgb(117 97 200 / 48%);
}

.phone-shell {
  position: absolute;
  right: clamp(24px, 8vw, 130px);
  top: 18%;
  width: min(290px, 31vw);
  min-width: 220px;
  aspect-ratio: 0.52;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 18%), rgb(255 255 255 / 6%)),
    rgb(11 15 20 / 62%);
  box-shadow: 0 34px 120px rgb(0 0 0 / 34%);
  animation: floatPhone 7s ease-in-out infinite;
}

.phone-bar {
  width: 40%;
  height: 8px;
  margin: 0 auto 32px;
  border-radius: 999px;
  background: rgb(255 255 255 / 35%);
}

.focus-ring {
  display: grid;
  place-items: center;
  width: 150px;
  aspect-ratio: 1;
  margin: 0 auto;
  border: 10px solid rgb(24 169 133 / 28%);
  border-top-color: var(--teal);
  border-right-color: var(--yellow);
  border-radius: 50%;
  animation: ringSpin 9s linear infinite;
}

.focus-ring span,
.focus-ring small {
  animation: ringSpinReverse 9s linear infinite;
}

.focus-ring span {
  font-size: 3rem;
  font-weight: 950;
}

.focus-ring small {
  margin-top: -22px;
  color: rgb(255 255 255 / 66%);
  font-weight: 800;
}

.pet-buddy {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 1;
  margin: 36px auto 0;
  border-radius: 34% 34% 42% 42%;
  background: linear-gradient(145deg, var(--yellow), var(--coral));
  color: #3a1a13;
  font-weight: 950;
  box-shadow: inset 0 -12px 0 rgb(0 0 0 / 9%);
  animation: petBounce 1.9s ease-in-out infinite;
}

.pet-ear {
  position: absolute;
  top: -16px;
  width: 28px;
  height: 32px;
  border-radius: 18px 18px 4px 4px;
  background: var(--yellow);
}

.pet-ear--left {
  left: 14px;
  transform: rotate(-20deg);
}

.pet-ear--right {
  right: 14px;
  transform: rotate(20deg);
}

.pet-face {
  font-size: 1.4rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 14px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 8px;
  background: rgb(255 255 255 / 9%);
}

.stat-row span {
  color: rgb(255 255 255 / 65%);
}

.floating-panel {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 210px;
  min-height: 86px;
  padding: 14px;
  border: 3px solid rgb(187 166 243 / 68%);
  border-radius: 18px;
  background: rgb(255 250 247 / 78%);
  color: var(--blue);
  box-shadow: 0 16px 42px rgb(92 75 160 / 16%);
  backdrop-filter: blur(12px);
}

.floating-panel strong {
  font-size: 1.02rem;
  line-height: 1.18;
}

.panel-icon {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, var(--lavender-soft));
  color: var(--violet-dark);
  font-size: 1.7rem;
  font-weight: 950;
  flex: 0 0 auto;
}

.panel-icon--mascot img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.panel--one {
  left: 0;
  top: 34%;
  animation: driftOne 7.5s ease-in-out infinite;
}

.panel--two {
  left: 6%;
  bottom: 17%;
  animation: driftTwo 8.5s ease-in-out infinite;
}

.panel--three {
  right: 2%;
  top: 24%;
  animation: driftTwo 9s ease-in-out infinite;
}

.panel--four {
  right: 0;
  bottom: 13%;
  animation: driftOne 8.5s ease-in-out infinite;
}

.motion-lines {
  position: absolute;
  right: 7%;
  bottom: 12%;
  width: 390px;
  height: 210px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  transform: rotate(-12deg);
}

.problem-section,
.download-section,
.loop-section,
.features,
.screens,
.team {
  padding-block: 92px;
}

.problem-section,
.features {
  background: rgb(255 250 247 / 54%);
}

.download-section {
  padding-block: 72px;
  background:
    radial-gradient(circle at 16% 12%, rgb(143 201 255 / 30%), transparent 17rem),
    radial-gradient(circle at 88% 84%, rgb(255 209 111 / 24%), transparent 17rem),
    linear-gradient(180deg, #fffaf7, var(--surface-strong));
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: center;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 74% 28%, rgb(187 166 243 / 34%), transparent 16rem),
    rgb(255 250 247 / 78%);
  box-shadow: var(--shadow);
}

.download-copy p:not(.section-kicker) {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.download-note {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.download-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px solid rgb(117 97 200 / 18%);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 34%, rgb(143 201 255 / 22%), transparent 9rem),
    linear-gradient(145deg, #141824, #222044);
  color: #fff;
}

.download-panel img {
  width: 118px;
  height: 118px;
  border-radius: 28px;
  box-shadow: 0 22px 44px rgb(0 0 0 / 28%);
}

.download-panel span {
  margin-top: 14px;
  color: var(--yellow);
  font-weight: 950;
  letter-spacing: 0.08em;
}

.download-panel strong {
  color: rgb(255 255 255 / 76%);
  font-size: 0.94rem;
}
.download-card + .download-card {
  margin-top: 40px;
}

.download-card--web {
  background:
    radial-gradient(circle at 72% 30%, rgb(143 201 255 / 30%), transparent 16rem),
    rgb(255 250 247 / 78%);
}

.download-panel--web {
  background:
    radial-gradient(circle at 50% 34%, rgb(187 166 243 / 24%), transparent 9rem),
    linear-gradient(145deg, #151a2d, #25204a);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(340px, 1.28fr);
  gap: 54px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 116px;
}

.section-copy > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.problem-grid {
  display: grid;
  gap: 16px;
}

.metric-card,
.feature-card,
.screen-card,
.team-card,
.loop-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 45px rgb(92 75 160 / 10%);
}

.metric-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  padding: 22px;
}

.metric-card__number {
  grid-row: span 2;
  color: var(--violet);
  font-weight: 950;
}

h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  line-height: 1.66;
}

.metric-card p,
.feature-card p,
.screen-card p,
.team-card p,
.loop-step p,
.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.loop-section {
  background:
    radial-gradient(circle at 8% 18%, rgb(255 209 111 / 22%), transparent 18rem),
    linear-gradient(180deg, var(--surface-strong), #fff8f1);
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head p:last-child {
  max-width: 660px;
}

.focus-loop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.loop-step {
  min-height: 240px;
  padding: 22px;
}

.loop-step span {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  margin-bottom: 42px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-weight: 950;
}

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

.feature-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.feature-card h3,
.feature-card p,
.feature-icon {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  border-color: rgb(117 97 200 / 55%);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.feature-card--accent {
  background:
    radial-gradient(circle at 82% 12%, rgb(255 209 111 / 30%), transparent 9rem),
    linear-gradient(145deg, var(--violet), #5c50af);
  color: #fff;
}

.feature-card--accent p {
  color: rgb(255 255 255 / 72%);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  margin-bottom: 42px;
  border: 2px solid rgb(187 166 243 / 46%);
  border-radius: 14px;
  background: var(--lavender-soft);
  color: var(--violet-dark);
  font-size: 1.25rem;
  font-weight: 950;
}

.feature-card--accent .feature-icon {
  border-color: rgb(255 255 255 / 28%);
  background: rgb(255 255 255 / 18%);
  color: #fff;
}

.feature-icon--image {
  overflow: hidden;
  background: rgb(255 250 247 / 86%);
}

.feature-icon--image img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.screens {
  background:
    radial-gradient(circle at 12% 18%, rgb(255 209 111 / 20%), transparent 20rem),
    radial-gradient(circle at 92% 82%, rgb(187 166 243 / 36%), transparent 20rem),
    linear-gradient(180deg, #6f5cc4, #514797);
  color: #fff;
}

.screens .section-head p {
  color: rgb(255 255 255 / 65%);
}

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

.screen-card {
  overflow: hidden;
  background: rgb(255 250 247 / 10%);
  border-color: rgb(255 255 255 / 20%);
}

.screen-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgb(255 250 247 / 14%);
}

.screen-card div {
  padding: 20px;
}

.screen-card p {
  color: rgb(255 255 255 / 68%);
}

.team {
  background:
    radial-gradient(circle at 20% 18%, rgb(255 209 111 / 22%), transparent 18rem),
    linear-gradient(180deg, #fff8f1, var(--surface-strong));
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.team-card {
  min-height: 300px;
  padding: 24px;
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 68px;
  aspect-ratio: 1;
  margin-bottom: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), #79c8ff);
  color: #fff;
  font-weight: 950;
}

.team-avatar--photo {
  overflow: hidden;
  border: 3px solid rgb(187 166 243 / 72%);
  background: var(--lavender-soft);
  box-shadow: 0 16px 26px rgb(92 75 160 / 14%);
}

.team-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-links {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.team-links a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--violet-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.team-links a:hover {
  border-color: var(--violet);
  background: rgb(117 97 200 / 8%);
}

.site-footer {
  padding-block: 24px;
  background: #514797;
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand--footer img {
  width: 34px;
  height: 34px;
}

.footer-copy {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.footer-copy p {
  margin: 0;
  color: rgb(255 255 255 / 62%);
}

.footer-contact {
  color: rgb(255 255 255 / 82%);
  font-weight: 800;
  text-decoration: none;
}

.footer-contact:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

main,
.nav-links,
.footer-copy {
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

body.is-language-exiting main,
body.is-language-exiting .nav-links,
body.is-language-exiting .footer-copy {
  opacity: 0.28;
  filter: blur(1px);
  transform: translateY(8px);
}

body.is-language-entering main,
body.is-language-entering .nav-links,
body.is-language-entering .footer-copy {
  animation: languageEnter 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes floatPhone {
  0%,
  100% {
    transform: translateY(0) rotate(4deg);
  }

  50% {
    transform: translateY(-18px) rotate(2deg);
  }
}

@keyframes languageEnter {
  from {
    opacity: 0.28;
    filter: blur(1px);
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes ringSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ringSpinReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes petBounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.03);
  }
}

@keyframes mascotBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotate(0deg);
  }

  50% {
    transform: translateX(-50%) translateY(-10px) rotate(-2deg);
  }
}

@keyframes driftOne {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(16px, -16px);
  }
}

@keyframes driftTwo {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-12px, 18px);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .header-controls {
    justify-content: flex-start;
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 176px;
  }

  .hero-copy,
  .hero-scene {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-scene {
    display: grid;
    gap: 10px;
    min-height: 0;
    opacity: 1;
  }

  .mascot-stage {
    width: min(430px, 100%);
    justify-self: center;
  }

  .phone-shell {
    right: -16px;
    top: 21%;
  }

  .floating-panel {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(430px, 100%);
    min-height: 72px;
    margin-inline: auto;
    animation: none;
  }

  .panel--one {
    left: auto;
    right: auto;
    top: auto;
  }

  .two-column,
  .download-card,
  .focus-loop,
  .feature-grid,
  .screen-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .section-copy {
    position: static;
  }

  .download-card {
    grid-template-columns: 1fr;
  }

  .download-panel {
    min-height: 220px;
  }

  .loop-step,
  .feature-card,
  .team-card {
    min-height: 0;
  }

  .loop-step span,
  .feature-icon,
  .team-avatar {
    margin-bottom: 24px;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(1140px, calc(100% - 28px));
  }

  .site-header {
    top: 8px;
    width: min(1140px, calc(100% - 16px));
    max-width: calc(100vw - 16px);
    overflow: hidden;
  }

  .header-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
  }

  .nav-links a {
    min-width: 0;
    min-height: 34px;
    padding: 7px 6px;
    font-size: 0.78rem;
    text-align: center;
    white-space: nowrap;
  }

  .language-switcher {
    align-self: flex-start;
    min-height: 36px;
  }

  .language-button {
    min-width: 54px;
    min-height: 28px;
    padding-inline: 6px;
  }

  .hero {
    display: block;
    max-width: 100vw;
    min-height: 92svh;
    padding: 244px 14px 62px;
  }

  .hero-copy {
    width: min(100%, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
  }

  h1 {
    width: min(100%, calc(100vw - 28px));
    max-width: 100%;
    font-size: clamp(2.2rem, 10vw, 2.75rem);
    line-height: 1.06;
  }

  .lead {
    width: min(100%, calc(100vw - 28px));
    line-height: 1.58;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: min(100%, calc(100vw - 28px));
  }

  .button {
    width: 100%;
    flex: 0 0 auto;
    min-width: 0;
    padding-inline: 12px;
  }

  .phone-shell {
    min-width: 190px;
    opacity: 0.82;
  }

  .hero-scene {
    position: absolute;
    right: -70px;
    bottom: 28px;
    width: 250px;
    min-height: 250px;
    opacity: 0.38;
    pointer-events: none;
  }

  .mascot-stage {
    width: 250px;
    border-width: 2px;
    border-radius: 24px;
  }

  .catudy-badge {
    display: none;
  }

  .hero-mascot {
    bottom: 20%;
    width: 195px;
  }

  .poster-star,
  .poster-heart {
    font-size: 1.65rem;
  }

  .stat-row {
    display: none;
  }

  .floating-panel {
    display: none;
  }

  .problem-section,
  .download-section,
  .loop-section,
  .features,
  .screens,
  .team {
    padding-block: 64px;
  }

  .metric-card {
    grid-template-columns: 1fr;
  }

  .metric-card__number {
    grid-row: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-copy {
    justify-items: start;
  }
}

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