:root {
  --bg: #03060c;
  --panel: #0d1118;
  --panel-border: rgba(214, 236, 255, 0.22);
  --text: #eef4ff;
  --text-dim: #c6cfda;
  --line: rgba(214, 231, 249, 0.22);
  --radius: 24px;
  --title-subtitle-gap: 1rem;
  --subtitle-actions-gap: 1.8rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100%;
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  width: 100%;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

html {
  background: #03050b;
}

body {
  background: #03050b;
  color: var(--text);
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

body.home-page,
body.sub-page {
  background: #03050b;
  position: relative;
}

body.home-page::before,
body.sub-page::before {
  display: none;
}

body.home-page::after,
body.sub-page::after {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1220px, calc(100% - 3rem));
  margin: 0 auto;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: none;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.24s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  min-height: 76px;
  transition: opacity 0.22s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.01em;
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #f4f7ff;
  line-height: 1;
  transition: filter 0.22s ease;
  transform-origin: left center;
}

.brand-letter {
  display: inline-block;
  transition: transform 0.28s ease, color 0.28s ease, filter 0.28s ease;
  transform-origin: center bottom;
}

.brand-letter.morph-outline {
  color: transparent;
  -webkit-text-stroke: 1px #f3f7ff;
  text-stroke: 1px #f3f7ff;
}

.brand-letter.morph-thin {
  transform: scaleX(0.7) scaleY(1.04);
}

.brand-letter.morph-cut {
  clip-path: polygon(0% 0%, 100% 0%, 100% 34%, 0% 57%, 0% 100%, 100% 100%, 100% 69%, 0% 43%);
}

.brand-letter.morph-block {
  background: #e6efff;
  color: #050b16;
  border-radius: 8px;
  padding-inline: 0.06em;
}

.brand-letter.morph-shear {
  transform: skewX(-12deg) translateY(-0.02em);
}

.brand-letter.morph-shadow {
  text-shadow: 0.03em 0 0 #8ba7ca;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  color: #b9c8de;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.24s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: #f4f8ff;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  margin-left: 1.15rem;
}

.lang-toggle {
  border: 1px solid rgba(164, 194, 229, 0.45);
  background: rgba(255, 255, 255, 0.03);
  color: #d5e6fb;
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  min-height: 36px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  cursor: pointer;
}

.lang-toggle:hover {
  border-color: rgba(198, 219, 246, 0.72);
  color: #eff6ff;
}

.lang-toggle-icon {
  width: 1.05rem;
  height: 1.05rem;
  display: inline-block;
  background-color: currentColor;
  opacity: 0.96;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20a10 10 0 0 0 0-20m0 2c1.5 0 2.9 2 3.4 5H8.6C9.1 6 10.5 4 12 4m-4.1.9C7.1 6.1 6.5 7.5 6.2 9H3.9a8.03 8.03 0 0 1 4-4.1M3.3 11h2.6c-.1.7-.1 1.3-.1 2s0 1.3.1 2H3.3A8.7 8.7 0 0 1 3 13c0-.7.1-1.4.3-2m.6 6h2.3c.3 1.5.9 2.9 1.7 4.1A8.03 8.03 0 0 1 3.9 17M12 20c-1.5 0-2.9-2-3.4-5h6.8c-.5 3-1.9 5-3.4 5m3.7-7H8.3a13 13 0 0 1 0-2h7.4a13 13 0 0 1 0 2m.4 8.1c.8-1.2 1.4-2.6 1.7-4.1h2.3a8.03 8.03 0 0 1-4 4.1M18.1 15c.1-.7.1-1.3.1-2s0-1.3-.1-2h2.6c.2.6.3 1.3.3 2s-.1 1.4-.3 2zm-.3-6c-.3-1.5-.9-2.9-1.7-4.1a8.03 8.03 0 0 1 4 4.1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20a10 10 0 0 0 0-20m0 2c1.5 0 2.9 2 3.4 5H8.6C9.1 6 10.5 4 12 4m-4.1.9C7.1 6.1 6.5 7.5 6.2 9H3.9a8.03 8.03 0 0 1 4-4.1M3.3 11h2.6c-.1.7-.1 1.3-.1 2s0 1.3.1 2H3.3A8.7 8.7 0 0 1 3 13c0-.7.1-1.4.3-2m.6 6h2.3c.3 1.5.9 2.9 1.7 4.1A8.03 8.03 0 0 1 3.9 17M12 20c-1.5 0-2.9-2-3.4-5h6.8c-.5 3-1.9 5-3.4 5m3.7-7H8.3a13 13 0 0 1 0-2h7.4a13 13 0 0 1 0 2m.4 8.1c.8-1.2 1.4-2.6 1.7-4.1h2.3a8.03 8.03 0 0 1-4 4.1M18.1 15c.1-.7.1-1.3.1-2s0-1.3-.1-2h2.6c.2.6.3 1.3.3 2s-.1 1.4-.3 2zm-.3-6c-.3-1.5-.9-2.9-1.7-4.1a8.03 8.03 0 0 1 4 4.1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lang-toggle-code {
  min-width: 1.7rem;
  text-align: center;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.46rem);
  right: 0;
  min-width: 72px;
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  padding: 0.36rem;
  border-radius: 12px;
  border: 1px solid rgba(168, 197, 231, 0.28);
  background: rgba(8, 16, 30, 0.96);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.34);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  z-index: 1300;
}

.lang-switch.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-btn {
  border: 1px solid rgba(164, 194, 229, 0.45);
  background: rgba(255, 255, 255, 0.03);
  color: #d5e6fb;
  border-radius: 999px;
  padding: 0.3rem 0.52rem;
  width: 100%;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.lang-btn.active {
  background: #edf5ff;
  color: #061427;
  border-color: #edf5ff;
}

.nav-wrap.is-compact {
  background: rgba(0, 0, 0, 0.98);
  border-bottom-color: rgba(210, 228, 250, 0.2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.nav-wrap.is-compact .nav {
  transform: scale(0.985);
  opacity: 0.985;
  min-height: 62px;
  padding: 0.55rem 0;
}

.nav-wrap.is-compact .brand-wordmark {
  font-size: clamp(1.76rem, 2.1vw, 2.3rem);
}

.nav-wrap.nav-hidden {
  transform: translateY(-110%);
}

html.is-safari .nav-wrap,
html.is-safari .nav,
html.is-safari .brand-wordmark {
  transition: none !important;
}

html.is-safari .nav-wrap {
  position: static !important;
  top: auto !important;
  box-shadow: none !important;
}

@media (min-width: 761px) {
  html.is-safari .nav-wrap {
    position: relative !important;
    z-index: 2400 !important;
  }

  html.is-safari .nav {
    position: relative;
    z-index: 2401;
  }

  html.is-safari .lang-switch {
    z-index: 2402;
  }

  html.is-safari .lang-dropdown {
    z-index: 2403;
  }
}

@media (max-width: 760px) {
  html.is-safari .nav-wrap {
    position: sticky !important;
    top: 0 !important;
    box-shadow: none !important;
  }
}

html.is-safari .home-main,
html.is-safari .flow-section,
html.is-safari .story-footer {
  overflow: visible !important;
}

.burger {
  display: none;
  background: transparent;
  color: #eff4ff;
  border: 1px solid rgba(148, 174, 207, 0.4);
  border-radius: 14px;
  padding: 0.58rem 1rem;
  min-height: 42px;
  min-width: 88px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  align-items: center;
  justify-content: center;
  align-self: center;
}

@media (min-width: 761px) {
  .burger {
    display: none !important;
  }
}

.home-main {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  background: #03050b;
}

.home-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 42% at 50% 58%, rgba(168, 198, 232, 0.2) 0%, rgba(168, 198, 232, 0) 70%),
    linear-gradient(
      180deg,
      #02050b 0%,
      #02050b 34%,
      #071629 44%,
      #163b6f 56%,
      #4779ad 66%,
      #8fb2d7 76%,
      #9ab9dc 82%,
      #88abd2 87%,
      #5f8fc2 92%,
      #234b7f 96%,
      #071729 99%,
      #03050b 100%
    );
}

section {
  padding: 2.8rem 0;
  position: relative;
}

.home-main > section + section {
  margin-top: 0;
  padding-top: 3.4rem;
}

.home-main section > .container {
  position: relative;
  z-index: 3;
}

.home-main section::before {
  display: none;
}

.hero-stage {
  min-height: 86vh;
  padding: 0;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  z-index: 2;
}

.hero-stage::before {
  display: none;
}

.hero-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28vh;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, rgba(2, 5, 11, 0) 0%, rgba(2, 6, 12, 0.82) 72%, rgba(3, 8, 16, 1) 100%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 52%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0.84) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.74) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  margin: auto;
  padding: 5.4rem 0 4.8rem;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #cee3ff;
  margin-bottom: 1rem;
}

.hero-stage h1 {
  font-size: clamp(1.45rem, 3.4vw, 3.35rem);
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-inline: auto;
  color: #eceff4;
  background: linear-gradient(180deg, #f4f6f9 10%, #d3d9e2 58%, #b0b8c3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.08), 0 0 42px rgba(154, 168, 186, 0.14);
}

.hero-text {
  max-width: 36ch;
  margin: 1.28rem auto 0;
  color: #c9d1dd;
  font-size: clamp(0.93rem, 1.08vw, 1.08rem);
  text-shadow: 0 0 12px rgba(190, 201, 217, 0.12);
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.btn,
button {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.84rem 1.4rem;
  line-height: 1.2;
  font-weight: 700;
  backdrop-filter: blur(11px) saturate(1.3);
  -webkit-backdrop-filter: blur(11px) saturate(1.3);
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.btn::before,
button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 85%;
  height: 100%;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(244, 248, 255, 0.16) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(180deg, rgba(232, 238, 247, 0.9) 0%, rgba(188, 199, 214, 0.84) 100%);
  color: #07111d;
  border-color: rgba(227, 235, 246, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56), 0 10px 22px rgba(48, 62, 84, 0.22);
}

.btn-ghost {
  background: linear-gradient(180deg, rgba(103, 124, 150, 0.42) 0%, rgba(65, 83, 106, 0.56) 100%);
  color: #ebf0f8;
  border-color: rgba(214, 230, 247, 0.46);
  box-shadow: inset 0 1px 0 rgba(236, 244, 255, 0.16), 0 10px 20px rgba(8, 12, 22, 0.34);
}

.btn:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 8px 20px rgba(18, 28, 45, 0.2);
}

.btn:hover::before,
button:hover::before {
  left: 130%;
}

.panel-shell {
  border-radius: 34px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.story-band {
  position: relative;
  margin-top: -10vh;
  padding-top: 12vh;
  padding-bottom: 4rem;
  overflow: visible;
  background: transparent;
  z-index: 1;
}

.story-band::before {
  display: none;
}

.story-band::after {
  display: none;
}

.story-band > .container {
  position: relative;
  z-index: 2;
}

.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 1fr);
  gap: 1.4rem;
  align-items: center;
  border-radius: 28px;
  padding: 2rem 0;
  background: transparent;
  backdrop-filter: none;
}

.band-copy {
  justify-self: stretch;
  width: 100%;
  max-width: none;
  padding-left: 0;
}

.band-copy h2 {
  margin: 0 0 var(--title-subtitle-gap);
  font-size: clamp(1.65rem, 2.9vw, 3rem);
  letter-spacing: -0.01em;
  color: #eef5ff;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 30px rgba(12, 24, 46, 0.24);
  max-width: none;
}

.band-copy p {
  margin: 0;
  color: #c9d8ec;
  text-shadow: 0 1px 8px rgba(6, 15, 30, 0.2);
  max-width: 48ch;
}

.orb-wrap {
  position: relative;
  width: min(100%, 760px);
  min-height: clamp(560px, 54vw, 700px);
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
  display: grid;
  place-items: center;
  justify-self: end;
  align-self: center;
  transform: none;
}

.orb-wrap::before {
  display: none;
}

.orb-glow {
  display: none;
}

.orb-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
  pointer-events: none;
  background: transparent !important;
  -webkit-mask-image: radial-gradient(ellipse at 50% 52%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 72%, rgba(0, 0, 0, 0.55) 88%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(ellipse at 50% 52%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 72%, rgba(0, 0, 0, 0.55) 88%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.light-zone {
  position: relative;
  margin-top: -1vh;
  padding-top: 5.4rem;
  padding-bottom: 5.2rem;
  background: transparent;
  color: var(--text);
  overflow: visible;
}

.light-zone::before {
  display: none;
}

.light-zone::after {
  display: none;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-size: clamp(1.65rem, 2.9vw, 3rem);
  margin: 0;
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 0;
  color: #c1ccdb;
  max-width: 54ch;
}

.section-head-stack {
  display: grid;
  justify-items: start;
  align-items: start;
  gap: var(--title-subtitle-gap);
}

.section-head-light p {
  color: #c9d8ec;
  text-shadow: 0 1px 8px rgba(6, 15, 30, 0.2);
}

.section-head-light h2 {
  color: #eef5ff;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 30px rgba(12, 24, 46, 0.24);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(221, 237, 255, 0.08) 0%, rgba(221, 237, 255, 0) 42%),
    linear-gradient(165deg, rgba(20, 25, 34, 0.92) 0%, rgba(12, 16, 24, 0.94) 48%, rgba(8, 11, 18, 0.96) 100%);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 1.2rem;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.34s ease, border-color 0.34s ease, box-shadow 0.34s ease, background 0.34s ease;
  box-shadow: inset 0 1px 0 rgba(244, 250, 255, 0.12), 0 10px 24px rgba(2, 8, 18, 0.28);
}

.card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -160%;
  width: 72%;
  height: 180%;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(243, 249, 255, 0.09) 46%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(12deg);
  transition: left 0.72s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(233, 244, 255, 0.03), rgba(233, 244, 255, 0.18), rgba(233, 244, 255, 0.03));
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-5px) scale(1.005);
  border-color: rgba(184, 216, 255, 0.54);
  background:
    radial-gradient(circle at 22% 0%, rgba(229, 242, 255, 0.12) 0%, rgba(229, 242, 255, 0) 45%),
    linear-gradient(165deg, rgba(24, 30, 41, 0.95) 0%, rgba(16, 22, 33, 0.96) 50%, rgba(10, 15, 24, 0.97) 100%);
  box-shadow: inset 0 1px 0 rgba(250, 253, 255, 0.12), 0 12px 24px rgba(8, 20, 43, 0.26);
}

.card:hover::before {
  left: 130%;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.58rem;
}

.card p {
  margin: 0;
  color: var(--text-dim);
}

.card-light {
  background:
    radial-gradient(circle at 16% 9%, rgba(235, 245, 255, 0.08) 0%, rgba(235, 245, 255, 0) 45%),
    linear-gradient(164deg, rgba(27, 33, 44, 0.92) 0%, rgba(20, 25, 35, 0.94) 46%, rgba(14, 18, 27, 0.96) 100%);
  border-color: rgba(191, 214, 236, 0.29);
}

.card-light p {
  color: #c3d3e8;
}

.card-live {
  opacity: 0;
  transform: translateY(20px) scale(0.988);
  transition: opacity 0.72s cubic-bezier(0.2, 0.76, 0.18, 1), transform 0.72s cubic-bezier(0.2, 0.76, 0.18, 1);
}

.card-live.card-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.services-nine .card {
  min-height: 205px;
}

.services-nine .card h3 {
  color: #edf5ff;
}

.app-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.app-card-real {
  background:
    radial-gradient(circle at 12% 10%, rgba(237, 246, 255, 0.16) 0%, rgba(237, 246, 255, 0) 40%),
    linear-gradient(162deg, rgba(17, 25, 38, 0.88) 0%, rgba(11, 17, 29, 0.92) 50%, rgba(8, 13, 23, 0.95) 100%);
  border-color: rgba(189, 217, 249, 0.42);
  box-shadow: inset 0 1px 0 rgba(246, 252, 255, 0.2), 0 16px 34px rgba(3, 11, 24, 0.34);
}

.app-card-senso {
  background:
    radial-gradient(circle at 14% 8%, rgba(131, 245, 235, 0.3) 0%, rgba(131, 245, 235, 0) 42%),
    radial-gradient(circle at 90% 84%, rgba(110, 163, 255, 0.22) 0%, rgba(110, 163, 255, 0) 50%),
    linear-gradient(160deg, rgba(9, 33, 52, 0.92) 0%, rgba(7, 23, 40, 0.95) 50%, rgba(6, 16, 30, 0.97) 100%);
  border-color: rgba(141, 222, 236, 0.44);
}

.app-card-easy {
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 132, 132, 0.24) 0%, rgba(255, 132, 132, 0) 44%),
    radial-gradient(circle at 88% 84%, rgba(255, 176, 130, 0.2) 0%, rgba(255, 176, 130, 0) 48%),
    linear-gradient(160deg, rgba(52, 16, 18, 0.92) 0%, rgba(36, 12, 14, 0.95) 52%, rgba(26, 10, 12, 0.97) 100%);
  border-color: rgba(255, 158, 158, 0.4);
}

.app-card-mindhealth {
  background:
    radial-gradient(circle at 14% 8%, rgba(218, 246, 224, 0.33) 0%, rgba(218, 246, 224, 0) 44%),
    radial-gradient(circle at 88% 84%, rgba(206, 237, 221, 0.24) 0%, rgba(206, 237, 221, 0) 52%),
    linear-gradient(160deg, rgba(25, 39, 33, 0.9) 0%, rgba(17, 30, 25, 0.93) 52%, rgba(12, 22, 19, 0.96) 100%);
  border-color: rgba(175, 223, 199, 0.5);
}

.app-card-sensesound {
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 207, 153, 0.34) 0%, rgba(255, 207, 153, 0) 42%),
    radial-gradient(circle at 88% 84%, rgba(255, 146, 94, 0.25) 0%, rgba(255, 146, 94, 0) 52%),
    linear-gradient(162deg, rgba(69, 30, 12, 0.92) 0%, rgba(49, 24, 10, 0.95) 54%, rgba(34, 17, 8, 0.98) 100%);
  border-color: rgba(255, 195, 141, 0.52);
}

.app-card-senseai3d {
  background:
    radial-gradient(circle at 18% 8%, rgba(217, 223, 235, 0.2) 0%, rgba(217, 223, 235, 0) 42%),
    radial-gradient(circle at 84% 86%, rgba(152, 168, 198, 0.24) 0%, rgba(152, 168, 198, 0) 52%),
    linear-gradient(162deg, rgba(22, 24, 31, 0.92) 0%, rgba(15, 18, 24, 0.95) 54%, rgba(10, 13, 19, 0.98) 100%);
  border-color: rgba(167, 182, 211, 0.5);
}

.app-card-remote {
  background:
    radial-gradient(circle at 18% 10%, rgba(153, 231, 255, 0.28) 0%, rgba(153, 231, 255, 0) 40%),
    radial-gradient(circle at 86% 84%, rgba(154, 132, 255, 0.26) 0%, rgba(154, 132, 255, 0) 48%),
    linear-gradient(162deg, rgba(9, 20, 44, 0.94) 0%, rgba(8, 16, 36, 0.96) 54%, rgba(6, 12, 28, 0.98) 100%);
  border-color: rgba(146, 211, 255, 0.5);
}

.app-card-future {
  background:
    radial-gradient(circle at 16% 10%, rgba(219, 235, 255, 0.06) 0%, rgba(219, 235, 255, 0) 42%),
    linear-gradient(164deg, rgba(18, 24, 34, 0.86) 0%, rgba(12, 17, 27, 0.9) 50%, rgba(9, 13, 22, 0.93) 100%);
  border-style: dashed;
  border-color: rgba(170, 196, 230, 0.3);
}

.app-icon-wrap {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  padding: 7px;
  display: grid;
  place-items: center;
  margin: 0 0 0.95rem;
  background: linear-gradient(160deg, rgba(245, 251, 255, 0.2) 0%, rgba(208, 228, 250, 0.06) 100%);
  border: 1px solid rgba(220, 237, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 14px 24px rgba(4, 10, 21, 0.26);
}

.app-card-senso .app-icon-wrap {
  background: linear-gradient(160deg, rgba(137, 255, 245, 0.24) 0%, rgba(87, 183, 255, 0.1) 100%);
  border-color: rgba(145, 231, 240, 0.52);
}

.app-card-easy .app-icon-wrap {
  background: linear-gradient(160deg, rgba(255, 147, 147, 0.26) 0%, rgba(255, 196, 140, 0.1) 100%);
  border-color: rgba(255, 170, 170, 0.5);
}

.app-card-mindhealth .app-icon-wrap {
  background: linear-gradient(160deg, rgba(226, 248, 229, 0.3) 0%, rgba(181, 223, 195, 0.12) 100%);
  border-color: rgba(191, 230, 205, 0.52);
}

.app-card-sensesound .app-icon-wrap {
  background: linear-gradient(160deg, rgba(255, 199, 145, 0.28) 0%, rgba(255, 146, 88, 0.14) 100%);
  border-color: rgba(255, 198, 147, 0.52);
}

.app-card-sensesound .app-icon {
  transform: scale(1.12);
  transform-origin: center;
}

.app-card-senseai3d .app-icon-wrap {
  background: linear-gradient(160deg, rgba(209, 216, 232, 0.28) 0%, rgba(153, 170, 198, 0.12) 100%);
  border-color: rgba(182, 194, 219, 0.48);
}

.app-card-remote .app-icon-wrap {
  background: linear-gradient(160deg, rgba(138, 232, 255, 0.28) 0%, rgba(130, 126, 255, 0.16) 100%);
  border-color: rgba(148, 212, 255, 0.54);
}

.app-card-docmind {
  background:
    radial-gradient(circle at 18% 10%, rgba(214, 247, 255, 0.5) 0%, rgba(214, 247, 255, 0) 44%),
    radial-gradient(circle at 86% 84%, rgba(110, 174, 255, 0.36) 0%, rgba(110, 174, 255, 0) 54%),
    linear-gradient(162deg, rgba(17, 34, 74, 0.95) 0%, rgba(13, 27, 60, 0.97) 52%, rgba(9, 18, 42, 0.99) 100%);
  border-color: rgba(153, 214, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(233, 251, 255, 0.3), 0 18px 36px rgba(7, 18, 44, 0.4);
}

.app-card-docmind .app-icon-wrap {
  background:
    radial-gradient(circle at 22% 18%, rgba(240, 252, 255, 0.55) 0%, rgba(240, 252, 255, 0) 42%),
    linear-gradient(160deg, rgba(208, 245, 255, 0.46) 0%, rgba(129, 197, 255, 0.26) 100%);
  border-color: rgba(171, 224, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(247, 253, 255, 0.62), 0 16px 28px rgba(10, 31, 69, 0.35);
}

.app-card-docmind h3 {
  color: #e8f7ff;
}

.app-card-docmind p {
  color: #c8e5ff;
}

.app-card-controlplane {
  background:
    radial-gradient(circle at 18% 8%, rgba(226, 238, 255, 0.28) 0%, rgba(226, 238, 255, 0) 42%),
    radial-gradient(circle at 86% 86%, rgba(151, 186, 246, 0.24) 0%, rgba(151, 186, 246, 0) 52%),
    linear-gradient(162deg, rgba(14, 19, 30, 0.94) 0%, rgba(10, 14, 24, 0.96) 54%, rgba(7, 11, 18, 0.98) 100%);
  border-color: rgba(188, 212, 244, 0.52);
}

.app-card-controlplane .app-icon-wrap {
  background: linear-gradient(160deg, rgba(241, 248, 255, 0.36) 0%, rgba(188, 210, 242, 0.18) 100%);
  border-color: rgba(206, 227, 253, 0.62);
}

.app-icon-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: #0b182b;
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.45) 45%, rgba(178, 206, 240, 0.3) 100%),
    linear-gradient(155deg, #f4f9ff 0%, #dbeafe 56%, #b9d6f7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.app-icon {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  display: block;
}

.app-card-real h3 {
  color: #f3f8ff;
}

.app-card-real p {
  color: #d4e1f2;
}

.app-thumb {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(166, 198, 235, 0.28);
  background: transparent;
  margin: 0 0 0.85rem;
}

.app-thumb img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.app-thumb-low img {
  object-position: center 78%;
}

.deep-space {
  position: relative;
  margin-top: -4.5vh;
  padding-top: 5.2rem;
  padding-bottom: 8.2rem;
  overflow: visible;
  background: transparent;
}

.deep-space::before {
  display: none;
}

.deep-space .section-head h2 {
  color: #f6fbff;
  text-shadow: 0 2px 10px rgba(9, 24, 48, 0.4), 0 0 1px rgba(9, 24, 48, 0.5);
}

.deep-space .section-head p {
  color: #d7e6f8;
  text-shadow: 0 1px 7px rgba(9, 24, 48, 0.36);
}

.deep-space .section-head {
  display: grid;
  justify-items: start;
  margin-left: 0;
  padding-left: 0;
  max-width: 100%;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(189, 222, 255, 0.5);
  padding: 0.72rem 1.08rem;
  margin-top: 0.95rem;
  background: linear-gradient(180deg, rgba(39, 59, 86, 0.94) 0%, rgba(22, 37, 59, 0.96) 100%);
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.25;
  min-width: 196px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.22s ease, box-shadow 0.24s ease, background 0.24s ease;
  box-shadow: inset 0 1px 0 rgba(236, 246, 255, 0.24), 0 8px 18px rgba(4, 12, 24, 0.28);
}

.project-link small {
  display: none;
}

.project-link span {
  color: #e8f3ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.project-link::after {
  content: "";
  width: 0.44rem;
  height: 0.44rem;
  border-top: 1.8px solid rgba(232, 243, 255, 0.84);
  border-right: 1.8px solid rgba(232, 243, 255, 0.84);
  transform: rotate(45deg) translateY(-1px);
  display: inline-block;
  margin-left: 0.16rem;
  flex: 0 0 auto;
}

.project-link:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 235, 255, 0.72);
  background: linear-gradient(180deg, rgba(49, 72, 103, 0.96) 0%, rgba(28, 46, 74, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(241, 249, 255, 0.32), 0 10px 20px rgba(6, 16, 33, 0.34);
}

.project-link:active {
  transform: translateY(0) scale(0.985);
  box-shadow: inset 0 1px 0 rgba(236, 247, 255, 0.08), 0 2px 8px rgba(7, 18, 36, 0.22);
}

.project-link:focus-visible {
  outline: 2px solid rgba(186, 220, 255, 0.72);
  outline-offset: 2px;
}

.app-card .project-link {
  font-size: 0.92rem;
  position: relative;
  z-index: 3;
  margin-top: auto;
}

.app-card .btn {
  white-space: normal;
  line-height: 1.2;
  text-wrap: balance;
  position: relative;
  z-index: 3;
}

.results-zone .card {
  background:
    radial-gradient(circle at 18% 11%, rgba(215, 233, 251, 0.07) 0%, rgba(215, 233, 251, 0) 43%),
    linear-gradient(165deg, rgba(10, 18, 31, 0.9) 0%, rgba(9, 17, 30, 0.92) 100%);
}

.results-zone .card::before {
  display: none;
}

.results-zone {
  position: relative;
  margin-top: -1vh;
  padding-top: 4rem;
  padding-bottom: 6rem;
  overflow: visible;
  background: transparent;
}

.results-zone::before {
  display: none;
}

.results-zone::after {
  display: none;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.metric {
  background: linear-gradient(160deg, rgba(29, 38, 52, 0.68) 0%, rgba(14, 20, 30, 0.84) 100%);
  border: 1px solid rgba(158, 197, 240, 0.38);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  min-width: 0;
  box-shadow: inset 0 1px 0 rgba(244, 250, 255, 0.14);
}

.metric strong {
  display: block;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  letter-spacing: -0.02em;
  color: #f0f5ff;
}

.metric span {
  color: #d2dde9;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.story-footer {
  margin-top: 4.6rem;
  background: linear-gradient(180deg, rgba(2, 9, 20, 0) 0%, rgba(2, 7, 16, 0.45) 22%, rgba(2, 5, 11, 0.88) 56%, #02050b 100%);
  border-top: 0;
  overflow: hidden;
  position: relative;
  padding-top: 2.8rem;
  padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
}

html.is-safari .hero-actions .btn-primary {
  background: linear-gradient(180deg, rgba(232, 238, 247, 0.95) 0%, rgba(188, 199, 214, 0.9) 100%) !important;
  color: #07111d !important;
  border-color: rgba(227, 235, 246, 0.94) !important;
}

html.is-safari .hero-actions .btn {
  -webkit-text-fill-color: currentColor;
}

.story-footer::before {
  display: none;
}

.story-footer::after {
  display: none;
}

.story-footer > * {
  position: relative;
  z-index: 1;
}

.footer-top {
  padding: 2.2rem 0 1.8rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.1rem;
  align-items: start;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.78rem;
  min-width: 280px;
}

.footer-copy-inline {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin: 0;
  color: #d5dde8;
  line-height: 1.35;
  min-width: max-content;
}

.footer-copy-inline span {
  display: inline;
  margin: 0;
}

.footer-col h4 {
  margin: 0 0 0.65rem;
  color: #f0f0f0;
  font-size: 1rem;
  line-height: 1.35;
}

.footer-col a,
.footer-col p,
.footer-col span {
  display: block;
  color: #c4c4c4;
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.footer-brand-col {
  min-width: 340px;
}

.footer-brand-col .footer-copy-inline,
.footer-brand-col .footer-copy-inline span {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

.footer-col a:hover {
  color: #f7f7f7;
}

.footer-socials {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.footer-socials a,
.footer-socials span {
  font-size: 0.83rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.26rem 0.58rem;
}

.showcase-card {
  background: transparent;
  border: 1px solid rgba(161, 199, 240, 0.26);
  border-radius: 20px;
  padding: 1rem;
}

.showcase-frame {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(164, 198, 236, 0.27);
  background: transparent;
  min-height: 62vh;
}

.showcase-meta {
  margin: 0 0 1rem;
  color: #bccfea;
}

.preview-shot {
  border-radius: 14px;
  border: 1px solid rgba(164, 198, 236, 0.24);
  background: transparent;
  overflow: hidden;
  margin-bottom: 1rem;
}

.preview-shot img {
  width: 100%;
  height: clamp(240px, 46vh, 500px);
  object-fit: cover;
  display: block;
}

.preview-note {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-top: 1px solid rgba(164, 198, 236, 0.2);
  color: #bbcee9;
  font-size: 0.9rem;
}

.app-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 1.2rem;
  align-items: center;
}

.app-detail-copy h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.06;
}

.app-detail-copy p {
  margin: 0;
  color: #c9d8ec;
  max-width: 70ch;
}

.app-detail-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.app-detail-icon-wrap {
  width: min(100%, 300px);
  aspect-ratio: 1 / 1;
  border-radius: 34px;
  padding: 16px;
  margin-inline: auto;
  border: 1px solid rgba(220, 236, 255, 0.38);
  background:
    radial-gradient(circle at 20% 14%, rgba(233, 245, 255, 0.24) 0%, rgba(233, 245, 255, 0) 48%),
    linear-gradient(165deg, rgba(28, 40, 57, 0.72) 0%, rgba(16, 23, 36, 0.84) 55%, rgba(10, 15, 24, 0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(251, 254, 255, 0.18), 0 20px 34px rgba(5, 12, 24, 0.34);
}

.app-detail-icon-wrap img,
.app-detail-icon-wrap .app-icon-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
}

.btn.is-soon,
.btn[aria-disabled="true"] {
  cursor: default;
  pointer-events: none;
  opacity: 0.7;
}

.app-soon-note {
  margin-top: 0.25rem;
  font-size: 0.86rem;
  color: #9eb5d1;
}

.app-store-soon-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.26rem 0.74rem;
  border-radius: 999px;
  border: 1px solid rgba(170, 200, 237, 0.58);
  background:
    radial-gradient(circle at 22% 18%, rgba(241, 249, 255, 0.28) 0%, rgba(241, 249, 255, 0) 48%),
    linear-gradient(160deg, rgba(56, 72, 94, 0.7) 0%, rgba(29, 40, 56, 0.82) 100%);
  color: #d6e8fa;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(251, 255, 255, 0.22), 0 10px 18px rgba(5, 11, 22, 0.3);
}

.screenshots-block h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
}

.screenshots-block p {
  margin: 0;
  color: #c4d5ea;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.screenshot-slot {
  min-height: 220px;
  border-radius: 18px;
  border: 1px dashed rgba(172, 204, 241, 0.42);
  background:
    radial-gradient(circle at 30% 14%, rgba(225, 241, 255, 0.11) 0%, rgba(225, 241, 255, 0) 46%),
    linear-gradient(160deg, rgba(18, 28, 41, 0.74) 0%, rgba(12, 18, 29, 0.83) 100%);
  display: grid;
  place-items: center;
  text-align: center;
  color: #b8cae0;
  font-size: 0.92rem;
  padding: 0.8rem;
}

.screenshot-shot {
  min-height: 0;
  padding: 0;
  border-style: solid;
  border-color: rgba(172, 204, 241, 0.3);
  overflow: hidden;
  background: rgba(6, 10, 17, 0.9);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.screenshot-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.screenshot-shot figcaption {
  padding: 0.55rem 0.72rem 0.62rem;
  border-top: 1px solid rgba(164, 198, 236, 0.2);
  color: #b8cae0;
  font-size: 0.82rem;
  line-height: 1.35;
}

.footer-mega-word {
  font-size: clamp(4.5rem, 18vw, 14rem);
  font-weight: 700;
  line-height: 0.74;
  letter-spacing: -0.045em;
  color: #dfe4ec;
  white-space: normal;
  max-width: 100%;
  width: 100%;
  min-height: clamp(170px, 21vw, 320px);
  align-items: flex-end;
  padding: 0.55rem 1.4vw 1.8rem;
  display: flex;
  justify-content: space-between;
  gap: 0;
  user-select: none;
  overflow: hidden;
}

.mega-letter {
  display: inline-block;
  transition: transform 0.38s ease, color 0.38s ease, filter 0.38s ease;
  transform-origin: center bottom;
}

.mega-letter.morph-outline {
  color: transparent;
  -webkit-text-stroke: 2px #e8e8e8;
  text-stroke: 2px #e8e8e8;
}

.mega-letter.morph-thin {
  transform: scaleX(0.72) scaleY(1.05);
}

.mega-letter.morph-cut {
  clip-path: polygon(0% 0%, 100% 0%, 100% 33%, 0% 56%, 0% 100%, 100% 100%, 100% 68%, 0% 43%);
}

.mega-letter.morph-block {
  background: #e4e4e4;
  color: #050505;
  border-radius: 18px;
  padding-inline: 0.05em;
}

.mega-letter.morph-shear {
  transform: skewX(-12deg) translateY(-0.02em);
}

.mega-letter.morph-shadow {
  text-shadow: 0.04em 0 0 #888, 0.08em 0 0 #505050;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding: 1.2rem 0 2.5rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-hero {
  padding: 3.8rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 var(--title-subtitle-gap);
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.page-hero p {
  margin: 0;
  color: var(--text-dim);
  max-width: 75ch;
}

main.container {
  position: relative;
}

.flow-section {
  position: relative;
  border-radius: 34px;
  padding: 2.1rem;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(151, 193, 241, 0.24);
  background: transparent;
  overflow: clip;
  box-shadow: inset 0 1px 0 rgba(209, 230, 255, 0.06), 0 12px 40px rgba(2, 8, 18, 0.22);
}

.flow-section::before {
  display: none;
}

.flow-light {
  color: #edf4ff;
  border-color: rgba(151, 191, 240, 0.34);
  background: transparent;
}

.flow-light p,
.flow-light .kicker {
  color: #bfd0e6;
}

.flow-divider {
  display: none;
}

.sub-grid {
  display: grid;
  gap: 1rem;
}

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

.has-cta {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.has-cta p {
  margin-bottom: 1rem;
}

.has-cta .btn,
.has-cta .project-link {
  margin-top: auto;
  align-self: flex-start;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-form-card {
  background: linear-gradient(165deg, rgba(18, 23, 33, 0.94) 0%, rgba(11, 16, 24, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(244, 250, 255, 0.08), 0 8px 18px rgba(2, 8, 18, 0.2);
}

.contact-form-card::before,
.contact-form-card::after {
  display: none;
}

.contact-form-card:hover {
  transform: none;
  border-color: var(--panel-border);
  background: linear-gradient(165deg, rgba(18, 23, 33, 0.94) 0%, rgba(11, 16, 24, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(244, 250, 255, 0.08), 0 8px 18px rgba(2, 8, 18, 0.2);
}

.contact-form-card:hover::before,
.contact-form-card:hover::after {
  display: none;
}

.form input:hover,
.form textarea:hover {
  border-color: rgba(173, 217, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(235, 247, 255, 0.05), 0 0 0 1px rgba(124, 189, 255, 0.18);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(191, 226, 255, 0.68);
  box-shadow: 0 0 0 2px rgba(121, 188, 255, 0.24);
}

.legal-main {
  padding-top: 2.8rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: #b8cdea;
  font-size: 0.9rem;
}

.legal-sheet {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(163, 200, 240, 0.24);
  background: transparent;
  padding: 1.8rem;
}

.legal-sheet::before {
  content: "";
  position: absolute;
  inset: -50% -30% auto;
  height: 360px;
  background: radial-gradient(ellipse at 50% 50%, rgba(153, 206, 255, 0.14), rgba(153, 206, 255, 0));
  pointer-events: none;
}

.legal-section {
  position: relative;
  z-index: 1;
  margin-bottom: 1.2rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.legal-section p {
  margin: 0;
  color: #c1d0e4;
}

[data-legal-lang] {
  display: none;
}

html[lang='en'] [data-legal-lang='en'],
html[lang='ru'] [data-legal-lang='ru'],
html[lang='pl'] [data-legal-lang='pl'] {
  display: block;
}

.form {
  display: grid;
  gap: 0.75rem;
}

.form input,
.form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid rgba(153, 243, 251, 0.24);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font-family: inherit;
}

.form textarea {
  resize: vertical;
  min-height: 140px;
}

.app-frame {
  width: 100%;
  min-height: 68vh;
  border-radius: 18px;
  border: 1px solid rgba(153, 243, 251, 0.26);
  background: transparent;
}

.notice {
  padding: 0.9rem;
  border-radius: 12px;
  margin-top: 0.8rem;
  background: rgba(255, 95, 124, 0.08);
  border: 1px solid rgba(255, 95, 124, 0.35);
  color: #ffd9e2;
}

.mono {
  font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.home-main > section.reveal {
  opacity: 1;
  transform: none;
}

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

html.is-safari .reveal,
html.is-safari .card-live {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@keyframes spinring {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 1020px) {
  .band-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .sub-grid-2 {
    grid-template-columns: 1fr;
  }

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

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

  .app-detail-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .app-detail-icon-wrap {
    width: min(100%, 260px);
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    position: sticky;
    top: 0;
    z-index: 2100;
  }

  .nav-wrap.mobile-menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(2, 7, 15, 0.74);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1190;
    pointer-events: none;
  }

  .nav-wrap.mobile-menu-open .nav {
    z-index: 1210;
  }

  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(1220px, calc(100% - 1.5rem));
  }

  .nav {
    position: relative;
    align-items: center;
    min-height: 84px;
  }

  .burger {
    display: inline-flex;
    margin-left: auto;
    transform: translateY(0);
  }

  .nav-links {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 82px);
    right: 0.75rem;
    left: 0.75rem;
    background: rgba(5, 12, 24, 0.985);
    border: 1px solid rgba(141, 175, 214, 0.34);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: start;
    z-index: 1215;
    max-height: min(70vh, 460px);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .lang-switch {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0.2rem 0 0;
  }

  .lang-toggle {
    width: 100%;
    justify-content: center;
    min-height: 40px;
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    gap: 0.5rem;
  }

  .lang-toggle-icon {
    opacity: 0.82;
    font-size: 0.82rem;
  }

  .lang-toggle-code {
    min-width: 2.1rem;
  }

  .lang-dropdown {
    position: static;
    width: 100%;
    margin-top: 0.42rem;
    border-radius: 12px;
    transform: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border-width: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition: max-height 0.22s ease;
  }

  .lang-switch.open .lang-dropdown {
    max-height: 220px;
    padding: 0.4rem;
    border-width: 1px;
    pointer-events: auto;
  }

  .lang-btn {
    min-height: 34px;
    border-radius: 10px;
    font-size: 0.74rem;
    letter-spacing: 0.07em;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-stage {
    min-height: 68vh;
  }

  .hero-content {
    padding: 2.7rem 0 2.5rem;
  }

  .hero-stage h1 {
    font-size: clamp(1.62rem, 7.2vw, 2rem);
    line-height: 1.06;
    max-width: 10.8ch;
  }

  .hero-text {
    font-size: clamp(0.9rem, 3.8vw, 0.98rem);
    max-width: 34ch;
    margin-top: 1.1rem;
  }

  .hero-actions {
    gap: 0.52rem;
    margin-top: 1.75rem;
  }

  .hero-actions .btn {
    flex: 0 1 auto;
    min-width: 152px;
    padding: 0.66rem 0.9rem;
    font-size: 0.88rem;
    text-align: center;
  }

  .story-band {
    margin-top: 3.4rem;
    padding-top: 0;
    padding-bottom: 3.2rem;
  }

  .band-grid {
    gap: 0.8rem;
    padding: 0.7rem 0;
  }

  .band-copy h2 {
    font-size: clamp(1.24rem, 5.8vw, 1.5rem);
    line-height: 1.06;
    max-width: 16ch;
  }

  .band-copy p {
    font-size: clamp(0.84rem, 3.5vw, 0.92rem);
    max-width: 38ch;
  }

  .orb-wrap {
    width: 100%;
    max-width: 320px;
    min-height: clamp(180px, 52vw, 240px);
    margin: 0 auto;
  }

  .grid-2,
  .footer-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .services-nine.grid-3,
  .deep-space .grid.grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .sub-page .grid.grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
  }

  .services-nine .card {
    min-height: 0;
    padding: 0.88rem;
  }

  .services-nine .card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.42rem;
  }

  .services-nine .card p {
    font-size: 0.84rem;
    line-height: 1.36;
  }

  .app-card {
    min-height: 0;
    padding: 0.86rem;
  }

  .app-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.38rem;
  }

  .app-card p {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .app-card .project-link {
    margin-top: auto;
    min-width: 0;
    width: 100%;
    padding: 0.62rem 0.68rem;
    font-size: 0.82rem;
  }

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

  .footer-mega-word {
    font-size: clamp(3.8rem, 20vw, 8rem);
  }

  .flow-section {
    padding: 1.35rem;
    border-radius: 24px;
  }

  .flow-divider {
    height: 90px;
  }

  .home-main > section + section {
    margin-top: 0;
    padding-top: 2.8rem;
  }

  .legal-sheet {
    padding: 1.2rem;
  }

  .mega-letter.morph-outline {
    -webkit-text-stroke: 1px #e8e8e8;
    text-stroke: 1px #e8e8e8;
  }

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

  .app-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    padding: 5px;
    margin-bottom: 0.62rem;
  }

  .app-icon {
    border-radius: 14px;
  }

  .app-detail-icon-wrap {
    width: min(100%, 220px);
    border-radius: 24px;
    padding: 12px;
  }

  .app-detail-icon-wrap img,
  .app-detail-icon-wrap .app-icon-placeholder {
    border-radius: 16px;
  }

  .footer-brand-col {
    min-width: 0 !important;
  }

  .footer-copy-inline,
  .footer-brand-col .footer-copy-inline,
  .footer-brand-col .footer-copy-inline span {
    display: block !important;
    min-width: 0 !important;
    white-space: normal !important;
    flex-wrap: wrap !important;
  }
}

@keyframes brandMobileWiggle {
  0% { transform: translateY(0) rotate(0deg); }
  8% { transform: translateY(-1px) rotate(-1deg); }
  16% { transform: translateY(0) rotate(1deg); }
  24% { transform: translateY(-1px) rotate(-0.8deg); }
  32% { transform: translateY(0) rotate(0.8deg); }
  40% { transform: translateY(-0.5px) rotate(-0.6deg); }
  48% { transform: translateY(0) rotate(0.6deg); }
  56% { transform: translateY(-0.4px) rotate(-0.4deg); }
  64% { transform: translateY(0) rotate(0.4deg); }
  72% { transform: translateY(-0.2px) rotate(-0.2deg); }
  80% { transform: translateY(0) rotate(0.2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.brand-wordmark.mobile-wiggle {
  animation: brandMobileWiggle 5s ease-in-out;
}

@media (max-width: 420px) {
  .services-nine.grid-3,
  .deep-space .grid.grid-4,
  .sub-page .grid.grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 0.3rem);
    min-width: 0;
  }

  .band-copy h2 {
    max-width: 100%;
  }
}
