:root {
  --bg0: #070b14;
  --bg1: #0b1220;
  --bg2: #121a2e;
  --panel: rgba(22, 25, 51, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #ffffff;
  --accent: #3ddc84;
  --accent-2: #ffffff;
  --danger: #ff7a8a;
  --radius: 18px;
  --font-display: "Satoshi", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(61, 220, 132, 0.18), transparent 55%),
    radial-gradient(900px 600px at 90% 8%, rgba(80, 120, 255, 0.14), transparent 50%),
    linear-gradient(165deg, var(--bg0), var(--bg1) 42%, var(--bg2));
  background-attachment: fixed;
}

body.page-sea {
  background: var(--bg0);
}

.page-sea .site-header,
.page-sea main,
.page-sea .site-footer {
  position: relative;
  z-index: 1;
}

.page-sea .site-header {
  background: rgba(7, 11, 20, 0.18);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.sea-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sea-bg__layer {
  position: absolute;
  inset: -25%;
  will-change: transform;
}

.sea-bg__layer--base {
  inset: 0;
  background: linear-gradient(165deg, var(--bg0) 0%, var(--bg1) 45%, var(--bg2) 100%);
}

.sea-bg__layer--green {
  background:
    radial-gradient(ellipse 50% 38% at 18% 38%, rgba(61, 220, 132, 0.72), transparent 62%),
    radial-gradient(ellipse 42% 32% at 72% 68%, rgba(124, 240, 176, 0.48), transparent 65%);
  filter: blur(38px);
  opacity: 1;
  animation: sea-drift-a 14s ease-in-out infinite;
}

.sea-bg__layer--blue {
  background:
    radial-gradient(ellipse 48% 36% at 82% 28%, rgba(80, 120, 255, 0.65), transparent 58%),
    radial-gradient(ellipse 55% 42% at 35% 78%, rgba(56, 92, 200, 0.52), transparent 64%);
  filter: blur(42px);
  opacity: 1;
  animation: sea-drift-b 18s ease-in-out infinite;
}

.sea-bg__layer--teal {
  background:
    radial-gradient(ellipse 65% 50% at 55% 52%, rgba(42, 190, 185, 0.5), transparent 58%),
    radial-gradient(ellipse 38% 28% at 12% 72%, rgba(61, 220, 132, 0.38), transparent 62%);
  filter: blur(44px);
  opacity: 0.95;
  animation: sea-drift-c 16s ease-in-out infinite;
}

.sea-bg__layer--waves {
  background:
    repeating-linear-gradient(
      108deg,
      transparent 0 6%,
      rgba(61, 220, 132, 0.14) 10% 16%,
      transparent 20% 34%,
      rgba(80, 120, 255, 0.16) 38% 44%,
      transparent 48% 62%,
      rgba(42, 190, 185, 0.12) 66% 72%,
      transparent 76% 100%
    );
  background-size: 180% 140%;
  filter: blur(18px);
  opacity: 0.85;
  animation: sea-flow 20s linear infinite;
}

.sea-bg__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.08) 0%, transparent 22%, transparent 78%, rgba(7, 11, 20, 0.22) 100%),
    radial-gradient(1100px 800px at 50% 50%, transparent 42%, rgba(7, 11, 20, 0.28) 100%);
}

/* Apps page — same motion, blue only */
.sea-bg--blue .sea-bg__layer--green {
  background:
    radial-gradient(ellipse 50% 38% at 18% 38%, rgba(80, 120, 255, 0.72), transparent 62%),
    radial-gradient(ellipse 42% 32% at 72% 68%, rgba(120, 160, 255, 0.48), transparent 65%);
}

.sea-bg--blue .sea-bg__layer--blue {
  background:
    radial-gradient(ellipse 48% 36% at 82% 28%, rgba(56, 92, 220, 0.7), transparent 58%),
    radial-gradient(ellipse 55% 42% at 35% 78%, rgba(40, 70, 180, 0.55), transparent 64%);
}

.sea-bg--blue .sea-bg__layer--teal {
  background:
    radial-gradient(ellipse 65% 50% at 55% 52%, rgba(70, 110, 230, 0.5), transparent 58%),
    radial-gradient(ellipse 38% 28% at 12% 72%, rgba(100, 150, 255, 0.4), transparent 62%);
}

.sea-bg--blue .sea-bg__layer--waves {
  background:
    repeating-linear-gradient(
      108deg,
      transparent 0 6%,
      rgba(80, 120, 255, 0.16) 10% 16%,
      transparent 20% 34%,
      rgba(120, 160, 255, 0.14) 38% 44%,
      transparent 48% 62%,
      rgba(56, 92, 200, 0.12) 66% 72%,
      transparent 76% 100%
    );
  background-size: 180% 140%;
}

/* Websites page — same motion, green only */
.sea-bg--green .sea-bg__layer--green {
  background:
    radial-gradient(ellipse 50% 38% at 18% 38%, rgba(61, 220, 132, 0.72), transparent 62%),
    radial-gradient(ellipse 42% 32% at 72% 68%, rgba(124, 240, 176, 0.5), transparent 65%);
}

.sea-bg--green .sea-bg__layer--blue {
  background:
    radial-gradient(ellipse 48% 36% at 82% 28%, rgba(45, 190, 120, 0.65), transparent 58%),
    radial-gradient(ellipse 55% 42% at 35% 78%, rgba(30, 160, 100, 0.52), transparent 64%);
}

.sea-bg--green .sea-bg__layer--teal {
  background:
    radial-gradient(ellipse 65% 50% at 55% 52%, rgba(80, 210, 150, 0.5), transparent 58%),
    radial-gradient(ellipse 38% 28% at 12% 72%, rgba(61, 220, 132, 0.42), transparent 62%);
}

.sea-bg--green .sea-bg__layer--waves {
  background:
    repeating-linear-gradient(
      108deg,
      transparent 0 6%,
      rgba(61, 220, 132, 0.16) 10% 16%,
      transparent 20% 34%,
      rgba(124, 240, 176, 0.14) 38% 44%,
      transparent 48% 62%,
      rgba(45, 190, 120, 0.12) 66% 72%,
      transparent 76% 100%
    );
  background-size: 180% 140%;
}

/* BI · AI · LLM — teal / cyan */
.sea-bg--teal .sea-bg__layer--green {
  background:
    radial-gradient(ellipse 50% 38% at 18% 38%, rgba(42, 184, 180, 0.72), transparent 62%),
    radial-gradient(ellipse 42% 32% at 72% 68%, rgba(92, 224, 216, 0.5), transparent 65%);
}

.sea-bg--teal .sea-bg__layer--blue {
  background:
    radial-gradient(ellipse 48% 36% at 82% 28%, rgba(30, 160, 170, 0.65), transparent 58%),
    radial-gradient(ellipse 55% 42% at 35% 78%, rgba(20, 130, 150, 0.52), transparent 64%);
}

.sea-bg--teal .sea-bg__layer--teal {
  background:
    radial-gradient(ellipse 65% 50% at 55% 52%, rgba(60, 200, 195, 0.5), transparent 58%),
    radial-gradient(ellipse 38% 28% at 12% 72%, rgba(92, 224, 216, 0.4), transparent 62%);
}

.sea-bg--teal .sea-bg__layer--waves {
  background:
    repeating-linear-gradient(
      108deg,
      transparent 0 6%,
      rgba(42, 184, 180, 0.16) 10% 16%,
      transparent 20% 34%,
      rgba(92, 224, 216, 0.14) 38% 44%,
      transparent 48% 62%,
      rgba(30, 160, 170, 0.12) 66% 72%,
      transparent 76% 100%
    );
  background-size: 180% 140%;
}

/* Consulting — amber / warm gold */
.sea-bg--amber .sea-bg__layer--green {
  background:
    radial-gradient(ellipse 50% 38% at 18% 38%, rgba(224, 168, 74, 0.7), transparent 62%),
    radial-gradient(ellipse 42% 32% at 72% 68%, rgba(240, 200, 120, 0.48), transparent 65%);
}

.sea-bg--amber .sea-bg__layer--blue {
  background:
    radial-gradient(ellipse 48% 36% at 82% 28%, rgba(200, 140, 50, 0.62), transparent 58%),
    radial-gradient(ellipse 55% 42% at 35% 78%, rgba(180, 120, 40, 0.5), transparent 64%);
}

.sea-bg--amber .sea-bg__layer--teal {
  background:
    radial-gradient(ellipse 65% 50% at 55% 52%, rgba(230, 180, 90, 0.48), transparent 58%),
    radial-gradient(ellipse 38% 28% at 12% 72%, rgba(240, 200, 120, 0.38), transparent 62%);
}

.sea-bg--amber .sea-bg__layer--waves {
  background:
    repeating-linear-gradient(
      108deg,
      transparent 0 6%,
      rgba(224, 168, 74, 0.16) 10% 16%,
      transparent 20% 34%,
      rgba(240, 200, 120, 0.14) 38% 44%,
      transparent 48% 62%,
      rgba(200, 140, 50, 0.12) 66% 72%,
      transparent 76% 100%
    );
  background-size: 180% 140%;
}

@keyframes sea-drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(14%, -10%) scale(1.14);
  }
  66% {
    transform: translate(-12%, 12%) scale(0.92);
  }
}

@keyframes sea-drift-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  40% {
    transform: translate(-16%, 8%) scale(1.12) rotate(-2.5deg);
  }
  75% {
    transform: translate(12%, -14%) scale(0.9) rotate(1.5deg);
  }
}

@keyframes sea-drift-c {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(10%, 14%) scale(1.15);
  }
}

@keyframes sea-flow {
  0% {
    background-position: 0% 30%;
  }
  50% {
    background-position: 100% 70%;
  }
  100% {
    background-position: 0% 30%;
  }
}

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

a {
  color: #ffffff;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffffff;
  text-decoration-thickness: 2px;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid var(--line);
  --header-nav-size: 1.12rem;
  --header-nav-line: 1.35;
  --header-item-height: calc(var(--header-nav-size) * var(--header-nav-line));
  /* Logo text band is ~37% of PNG height — scale image so text matches nav size */
  --logo-text-share: 0.372;
  --header-logo-height: calc(var(--header-nav-size) / var(--logo-text-share));
  --header-logo-offset: calc(var(--header-logo-height) * 0.02);
  --header-pad-y: 0.65rem;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: var(--header-pad-y);
  min-height: calc(var(--header-logo-height) + var(--header-pad-y) * 2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.brand--wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 0;
  height: auto;
}

.brand--wordmark .brand__logo {
  display: block;
  width: auto;
  height: var(--header-logo-height);
  max-width: min(20rem, 62vw);
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
  transform: translateY(var(--header-logo-offset));
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand__by {
  display: block;
  margin-top: 0.05rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem 1.1rem;
  font-size: var(--header-nav-size);
  line-height: var(--header-nav-line);
}

.nav__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem 1.1rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  height: var(--header-item-height);
  color: #ffffff;
  text-decoration: none;
}

.nav__section {
  padding: 0 0.65rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.nav a.nav__section:hover,
.nav a.nav__section[aria-current="page"] {
  color: #ffffff;
  text-decoration: none;
}

.nav__section--blue {
  background:
    radial-gradient(ellipse 120% 100% at 20% 20%, rgba(80, 120, 255, 0.24), transparent 70%),
    rgba(22, 25, 51, 0.14);
  border-color: rgba(80, 120, 255, 0.32);
}

.nav__section--blue:hover,
.nav__section--blue[aria-current="page"] {
  background:
    radial-gradient(ellipse 120% 100% at 20% 20%, rgba(80, 120, 255, 0.38), transparent 70%),
    rgba(22, 25, 51, 0.24);
  border-color: rgba(80, 120, 255, 0.55);
}

.nav__section--green {
  background:
    radial-gradient(ellipse 120% 100% at 20% 20%, rgba(61, 220, 132, 0.24), transparent 70%),
    rgba(22, 25, 51, 0.14);
  border-color: rgba(61, 220, 132, 0.32);
}

.nav__section--green:hover,
.nav__section--green[aria-current="page"] {
  background:
    radial-gradient(ellipse 120% 100% at 20% 20%, rgba(61, 220, 132, 0.38), transparent 70%),
    rgba(22, 25, 51, 0.24);
  border-color: rgba(61, 220, 132, 0.55);
}

.nav__section--teal {
  background:
    radial-gradient(ellipse 120% 100% at 20% 20%, rgba(42, 184, 180, 0.24), transparent 70%),
    rgba(22, 25, 51, 0.14);
  border-color: rgba(42, 184, 180, 0.32);
}

.nav__section--teal:hover,
.nav__section--teal[aria-current="page"] {
  background:
    radial-gradient(ellipse 120% 100% at 20% 20%, rgba(42, 184, 180, 0.38), transparent 70%),
    rgba(22, 25, 51, 0.24);
  border-color: rgba(42, 184, 180, 0.55);
}

.nav__section--amber {
  background:
    radial-gradient(ellipse 120% 100% at 20% 20%, rgba(224, 168, 74, 0.24), transparent 70%),
    rgba(22, 25, 51, 0.14);
  border-color: rgba(224, 168, 74, 0.32);
}

.nav__section--amber:hover,
.nav__section--amber[aria-current="page"] {
  background:
    radial-gradient(ellipse 120% 100% at 20% 20%, rgba(224, 168, 74, 0.38), transparent 70%),
    rgba(22, 25, 51, 0.24);
  border-color: rgba(224, 168, 74, 0.55);
}

.nav__section--light {
  background:
    radial-gradient(ellipse 120% 100% at 20% 20%, rgba(255, 255, 255, 0.14), transparent 70%),
    rgba(22, 25, 51, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

.nav__section--light:hover,
.nav__section--light[aria-current="page"] {
  background:
    radial-gradient(ellipse 120% 100% at 20% 20%, rgba(255, 255, 255, 0.22), transparent 70%),
    rgba(22, 25, 51, 0.24);
  border-color: rgba(255, 255, 255, 0.4);
}

.nav__section--slate {
  background:
    radial-gradient(ellipse 120% 100% at 20% 20%, rgba(160, 175, 205, 0.2), transparent 70%),
    rgba(22, 25, 51, 0.14);
  border-color: rgba(160, 175, 205, 0.3);
}

.nav__section--slate:hover,
.nav__section--slate[aria-current="page"] {
  background:
    radial-gradient(ellipse 120% 100% at 20% 20%, rgba(160, 175, 205, 0.32), transparent 70%),
    rgba(22, 25, 51, 0.24);
  border-color: rgba(160, 175, 205, 0.48);
}

.nav__section--neutral {
  background:
    radial-gradient(ellipse 120% 100% at 20% 20%, rgba(255, 255, 255, 0.08), transparent 70%),
    rgba(22, 25, 51, 0.18);
  border-color: rgba(255, 255, 255, 0.16);
}

.nav__section--neutral:hover,
.nav__section--neutral[aria-current="page"] {
  background:
    radial-gradient(ellipse 120% 100% at 20% 20%, rgba(255, 255, 255, 0.16), transparent 70%),
    rgba(22, 25, 51, 0.26);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav a:not(.nav__section):hover,
.nav a:not(.nav__section)[aria-current="page"] {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.lang {
  display: inline-flex;
  align-items: center;
  height: var(--header-item-height);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 0.7rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
}

.lang a[aria-current="page"] {
  background: rgba(61, 220, 132, 0.18);
  color: #ffffff;
}

.hero {
  padding: 4.5rem 0 3.25rem;
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 880px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 1rem;
}

.hero__lead {
  max-width: 34rem;
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero--hub .hero__brand {
  font-size: clamp(1.35rem, 4.5vw, 2.85rem);
  line-height: 1.1;
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .hero--hub .hero__brand {
    font-size: clamp(1.15rem, 5.6vw, 1.45rem);
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  position: relative;
  min-height: 280px;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(61, 220, 132, 0.16), transparent 45%),
    linear-gradient(180deg, #10182b, #0a1020);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: rise 0.9s ease both;
}

.hero__visual img {
  width: min(72%, 320px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 2.4rem auto;
  filter: drop-shadow(0 18px 40px rgba(61, 220, 132, 0.25));
  animation: float 5.5s ease-in-out infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #04140b;
}

.btn--primary:hover {
  background: var(--accent-2);
  color: #04140b;
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.section {
  padding: 2.5rem 0 3.5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}

.section__lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 40rem;
}

.platforms {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.platform {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(10px);
  animation: rise 0.8s ease both;
}

button.platform {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    transform 0.15s ease,
    background 0.15s ease;
}

button.platform:hover,
button.platform:focus-visible {
  border-color: rgba(61, 220, 132, 0.45);
  background: rgba(22, 25, 51, 0.28);
  transform: translateY(-2px);
  outline: none;
}

.platform:nth-child(2) { animation-delay: 0.05s; }
.platform:nth-child(3) { animation-delay: 0.1s; }
.platform:nth-child(4) { animation-delay: 0.15s; }

.platform strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.platform span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.platform__thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 11, 20, 0.35);
}

.platform__hint {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: auto 1fr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(7, 11, 20, 0.38);
  backdrop-filter: blur(22px) saturate(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
}

.gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0.85rem 1rem 1rem;
  background: transparent;
}

.gallery-lightbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.gallery-lightbox__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox__close {
  flex: 0 0 auto;
  min-height: 2.25rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(22, 25, 51, 0.55);
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
  border-color: rgba(61, 220, 132, 0.5);
  outline: none;
}

.gallery-lightbox__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0.75rem;
  align-content: stretch;
  min-height: 0;
  height: 100%;
  overflow: auto;
  padding-bottom: 0.25rem;
}

.gallery-lightbox__thumb {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  color: inherit;
  font: inherit;
}

.gallery-lightbox__grid img {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 11, 20, 0.35);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.gallery-lightbox__thumb:hover img,
.gallery-lightbox__thumb:focus-visible img {
  border-color: rgba(61, 220, 132, 0.45);
  transform: translateY(-1px);
}

.gallery-lightbox__thumb:focus-visible {
  outline: none;
}

.gallery-zoom {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr;
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.gallery-zoom.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-zoom__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: zoom-out;
  background: rgba(5, 8, 16, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gallery-zoom__top {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.gallery-zoom__counter {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.gallery-zoom__close {
  flex: 0 0 auto;
  min-height: 2.25rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(22, 25, 51, 0.7);
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}

.gallery-zoom__close:hover,
.gallery-zoom__close:focus-visible,
.gallery-zoom__nav:hover,
.gallery-zoom__nav:focus-visible {
  border-color: rgba(61, 220, 132, 0.5);
  outline: none;
}

.gallery-zoom__nav {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(22, 25, 51, 0.72);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-zoom__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.gallery-zoom__figure {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
}

.gallery-zoom__figure img {
  max-width: 100%;
  max-height: calc(100vh - 5.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 11, 20, 0.45);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

body.gallery-open {
  overflow: hidden;
}

@media (min-width: 900px) {
  .gallery-lightbox__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .gallery-lightbox__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .gallery-lightbox__panel {
    padding: 0.65rem 0.7rem 0.85rem;
  }

  .gallery-lightbox__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .gallery-lightbox__grid img {
    min-height: 7.5rem;
  }

  .gallery-zoom {
    padding: 0.55rem;
    gap: 0.35rem;
  }

  .gallery-zoom__nav {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.15rem;
  }

  .gallery-zoom__figure img {
    max-height: calc(100vh - 5rem);
  }

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

.sections {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: min(100%, 34rem);
  justify-items: stretch;
}

.section-card {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 1.35rem 1.3rem 1.4rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--line);
  background: rgba(22, 25, 51, 0.12);
  backdrop-filter: blur(6px);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
  animation: rise 0.75s ease both;
}

.section-card:nth-child(2) { animation-delay: 0.06s; }
.section-card:nth-child(3) { animation-delay: 0.12s; }
.section-card:nth-child(4) { animation-delay: 0.18s; }

.section-card:hover {
  transform: translateY(-2px);
  border-color: rgba(61, 220, 132, 0.45);
  background: rgba(22, 25, 51, 0.28);
  color: inherit;
}

.section-card--blue {
  background:
    radial-gradient(ellipse 90% 80% at 20% 20%, rgba(80, 120, 255, 0.28), transparent 60%),
    rgba(22, 25, 51, 0.1);
  border-color: rgba(80, 120, 255, 0.28);
}

.section-card--blue:hover {
  background:
    radial-gradient(ellipse 90% 80% at 20% 20%, rgba(80, 120, 255, 0.4), transparent 60%),
    rgba(22, 25, 51, 0.22);
  border-color: rgba(80, 120, 255, 0.55);
}

.section-card--green {
  background:
    radial-gradient(ellipse 90% 80% at 20% 20%, rgba(61, 220, 132, 0.28), transparent 60%),
    rgba(22, 25, 51, 0.1);
  border-color: rgba(61, 220, 132, 0.28);
}

.section-card--green:hover {
  background:
    radial-gradient(ellipse 90% 80% at 20% 20%, rgba(61, 220, 132, 0.4), transparent 60%),
    rgba(22, 25, 51, 0.22);
  border-color: rgba(61, 220, 132, 0.55);
}

.section-card--teal {
  background:
    radial-gradient(ellipse 90% 80% at 20% 20%, rgba(42, 184, 180, 0.28), transparent 60%),
    rgba(22, 25, 51, 0.1);
  border-color: rgba(42, 184, 180, 0.28);
}

.section-card--teal:hover {
  background:
    radial-gradient(ellipse 90% 80% at 20% 20%, rgba(42, 184, 180, 0.4), transparent 60%),
    rgba(22, 25, 51, 0.22);
  border-color: rgba(42, 184, 180, 0.55);
}

.section-card--amber {
  background:
    radial-gradient(ellipse 90% 80% at 20% 20%, rgba(224, 168, 74, 0.28), transparent 60%),
    rgba(22, 25, 51, 0.1);
  border-color: rgba(224, 168, 74, 0.28);
}

.section-card--amber:hover {
  background:
    radial-gradient(ellipse 90% 80% at 20% 20%, rgba(224, 168, 74, 0.4), transparent 60%),
    rgba(22, 25, 51, 0.22);
  border-color: rgba(224, 168, 74, 0.55);
}

.section-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  margin: 0 0 0.45rem;
}

.section-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.section-card__list {
  margin: 0;
  padding-left: 1.15rem;
  color: #ffffff;
  font-size: 0.98rem;
}

.section-card__list li + li {
  margin-top: 0.25rem;
}

.section-card__outcome {
  margin: 0.85rem 0 0;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.45;
}

.section-card__more {
  display: inline-block;
  margin-top: 0.9rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
}

.product-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
  max-width: 46rem;
}

.product-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  color: inherit;
  text-decoration: none;
}

.product-list__logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: contain;
}

.product-list__body {
  min-width: 0;
}

.page-sea .product-list a {
  background: rgba(22, 25, 51, 0.12);
  backdrop-filter: blur(6px);
}

.product-list a:hover {
  border-color: rgba(61, 220, 132, 0.4);
  color: inherit;
}

.page-sea .product-list a:hover {
  background: rgba(22, 25, 51, 0.28);
}

.product-list strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.2rem;
}

.page-sea .product-list strong {
  color: #ffffff;
}

.product-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.page-sea .product-list span {
  color: #ffffff;
}

.soon {
  opacity: 0.85;
}

.soon::after {
  content: " · soon";
  color: #ffffff;
  font-weight: 650;
  font-size: 0.85rem;
}

:lang(cs) .soon::after {
  content: " · připravujeme";
}

.trust {
  padding: 2.5rem 0;
}

.trust__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.trust-card {
  padding: 1.2rem 1.15rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--line);
  background: rgba(22, 25, 51, 0.12);
  backdrop-filter: blur(6px);
}

.trust-card strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
}

.trust-card p {
  margin: 0;
  font-size: 0.98rem;
}

.faq {
  padding: 2.5rem 0;
}

.faq__list {
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
}

.faq__item {
  padding: 1rem 1.1rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--line);
  background: rgba(22, 25, 51, 0.12);
  backdrop-filter: blur(6px);
}

.faq__item summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item p {
  margin: 0.75rem 0 0;
  color: #ffffff;
  font-size: 0.98rem;
}

.contact {
  padding: 2.5rem 0 3.5rem;
}

.contact__panel {
  max-width: 46rem;
  padding: 1.5rem 1.35rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: rgba(22, 25, 51, 0.12);
  backdrop-filter: blur(6px);
}

.contact__panel p {
  margin: 0 0 1rem;
}

.contact__legal {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-cta {
  margin-top: 1.5rem;
  max-width: 46rem;
  box-sizing: border-box;
  padding: 1.2rem 1.15rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(61, 220, 132, 0.28);
  background: rgba(61, 220, 132, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-cta p {
  margin: 0;
  font-weight: 650;
}

.page {
  padding: 2.75rem 0 4rem;
}

.page__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.035em;
  margin: 0 0 0.5rem;
}

.page__meta {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.prose {
  max-width: 46rem;
  padding: 1.4rem 1.35rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(10px);
}

.prose-cols {
  display: grid;
  gap: 1.25rem;
  max-width: min(100%, 52rem);
  margin-bottom: 1.25rem;
}

@media (min-width: 720px) {
  .prose-cols {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.prose-cols__item {
  padding: 1.4rem 1.35rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(10px);
}

.page-sea .prose-cols__item {
  background: rgba(22, 25, 51, 0.12);
  backdrop-filter: blur(6px);
}

.prose-cols__item p {
  margin: 0;
  color: #ffffff;
}

.prose-block {
  max-width: min(100%, var(--max));
  margin-bottom: 1.25rem;
}

.prose-block__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: #ffffff;
}

.prose-cols--wide {
  max-width: min(100%, var(--max));
}

@media (min-width: 720px) {
  .prose-cols--quad {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .prose-cols--quad {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-sea .prose {
  background: rgba(22, 25, 51, 0.12);
  backdrop-filter: blur(6px);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 1.6rem 0 0.55rem;
}

.prose h2:first-child {
  margin-top: 0.2rem;
}

.prose p,
.prose li {
  color: #ffffff;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.note {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(61, 220, 132, 0.28);
  background: rgba(61, 220, 132, 0.08);
  color: var(--text);
  font-size: 0.95rem;
}

/* Placeholdery / texty k doplnění a kontrole */
.todo,
a.todo,
.todo a,
code.todo {
  color: #ff1f1f !important;
  font-weight: 700;
}

a.todo:hover,
.todo a:hover {
  color: #ff6b6b !important;
}

.note--todo {
  border-color: rgba(255, 31, 31, 0.75);
  background: rgba(255, 31, 31, 0.14);
  color: #ff1f1f;
  font-weight: 700;
}

.note--todo a {
  color: #ff6b6b;
  font-weight: 700;
}

.note--todo a:hover {
  color: #fff;
}

.note--todo code {
  color: #ff1f1f;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: #ffffff;
  font-size: 0.9rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

@media (max-width: 719px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  body {
    font-size: 1rem;
    overflow-x: clip;
  }

  .site-header {
    --header-nav-size: 0.98rem;
    --header-pad-y: 0.55rem;
  }

  .site-header__inner {
    position: relative;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.55rem;
    min-height: calc(var(--header-logo-height) + var(--header-pad-y) * 2);
    padding-bottom: 0.15rem;
  }

  .nav {
    flex: 1 1 100%;
    width: 100%;
    display: block;
    gap: 0;
  }

  .nav__menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem 0.55rem;
    width: 100%;
  }

  .nav__menu .nav__section {
    justify-content: center;
    width: 100%;
    min-height: 2.45rem;
    height: auto;
    padding: 0.35rem 0.35rem;
    text-align: center;
    line-height: 1.15;
    white-space: normal;
    font-size: clamp(0.76rem, 2.9vw, 0.92rem);
  }

  .nav__menu .nav__section--neutral {
    display: none;
  }

  .brand--wordmark {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    padding-right: 5.25rem;
  }

  .brand--wordmark .brand__logo {
    max-width: min(13.5rem, calc(100vw - 7.5rem));
  }

  .lang {
    position: absolute;
    top: var(--header-pad-y);
    right: 0;
    margin-left: 0;
  }

  /* Mobile scroll performance: static background, no blur/backdrop */
  .sea-bg {
    transform: translateZ(0);
  }

  .sea-bg__layer {
    inset: 0;
    will-change: auto;
  }

  .sea-bg__layer--green,
  .sea-bg__layer--blue,
  .sea-bg__layer--teal {
    animation: none;
    filter: none;
    opacity: 0.85;
  }

  .sea-bg__layer--waves {
    display: none;
  }

  .site-header,
  .page-sea .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7, 11, 20, 0.94);
  }

  .section-card,
  .prose,
  .trust-card,
  .faq__item,
  .contact__panel,
  .page-cta,
  .product-list a,
  .platform {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero__lead {
    font-size: 1.02rem;
    max-width: none;
  }

  .hero__lead br,
  .section-card__text br {
    display: none;
  }

  .section {
    padding: 2rem 0 2.75rem;
  }

  .section-card {
    padding: 1.15rem 1.05rem 1.2rem;
  }

  .section-card__title {
    font-size: 1.2rem;
  }

  .page {
    padding: 2rem 0 3rem;
  }

  .prose {
    padding: 1.15rem 1rem;
  }

  .prose p,
  .prose li,
  .site-footer__inner span {
    overflow-wrap: anywhere;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 380px) {
  .site-header {
    --header-nav-size: 0.9rem;
  }

  .lang a {
    padding: 0 0.55rem;
    font-size: 0.76rem;
  }

  .brand--wordmark .brand__logo {
    max-width: min(12rem, calc(100vw - 6.75rem));
  }

  .site-header__inner {
    gap: 0.45rem 0.55rem;
  }

}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
