:root {
  --shell-line: rgba(148, 163, 184, .16);
  --shell-text: #ecf3f8;
  --shell-muted: #91a0b2;
  --shell-accent: #4cc38a;
  --shell-panel: rgba(17, 26, 34, .88);
  --shell-shadow: 0 18px 54px rgba(0, 0, 0, .24);
  --shell-max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.7;
  color: var(--shell-text);
  background:
    radial-gradient(circle at 12% 18%, rgba(76, 195, 138, .12), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(125, 211, 252, .09), transparent 22%),
    linear-gradient(180deg, #0a0f14 0%, #0b1117 38%, #101821 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 34%, transparent 88%);
  opacity: .55;
}

body.landing-menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.landing-shell-container {
  width: min(var(--shell-max), calc(100% - 40px));
  margin: 0 auto;
}

.landing-shell-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  backdrop-filter: blur(18px);
  background: rgba(8, 12, 16, .72);
}

.landing-shell-topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.landing-shell-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--shell-text);
}

.landing-shell-brand-logo {
  width: 165px;
  height: 45px;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.landing-shell-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(76, 195, 138, .24), rgba(125, 211, 252, .18)), #101920;
  border: 1px solid rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.landing-shell-brand-mark::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 3px solid var(--shell-accent);
  border-top-color: transparent;
  transform: rotate(28deg);
}

.landing-shell-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #b4c0cc;
  font-size: .95rem;
}

.landing-shell-nav a:hover,
.landing-shell-footer-links a:hover,
.landing-shell-mobile-links a:hover {
  color: var(--shell-text);
}

.landing-shell-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-shell-lang,
.landing-shell-open-app,
.landing-shell-menu-toggle,
.landing-shell-ghost,
.landing-shell-primary {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: .94rem;
  font-weight: 700;
  transition: .2s ease;
}

.landing-shell-lang,
.landing-shell-menu-toggle,
.landing-shell-ghost {
  background: rgba(255, 255, 255, .03);
  border-color: rgba(255, 255, 255, .08);
  color: #d7e1ea;
}

.landing-shell-open-app,
.landing-shell-primary {
  background: linear-gradient(180deg, #5bd79a 0%, #3cad78 100%);
  color: #07110c;
  box-shadow: 0 12px 34px rgba(76, 195, 138, .24);
}

.landing-shell-lang:hover,
.landing-shell-menu-toggle:hover,
.landing-shell-ghost:hover,
.landing-shell-open-app:hover,
.landing-shell-primary:hover {
  transform: translateY(-1px);
}

.landing-shell-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.landing-shell-menu-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-shell-overlay {
  position: fixed;
  inset: 0;
  z-index: 58;
  background: rgba(5, 8, 11, .58);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.landing-shell-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.landing-shell-menu {
  position: fixed;
  top: 88px;
  left: 20px;
  right: 20px;
  z-index: 60;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.landing-shell-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.landing-shell-menu-panel {
  padding: 18px;
  border-radius: 22px;
  background: rgba(13, 20, 27, .96);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shell-shadow);
}

.landing-shell-mobile-links {
  display: grid;
  gap: 8px;
}

.landing-shell-mobile-links a {
  padding: 14px 12px;
  border-radius: 14px;
  color: #d9e5ee;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .05);
}

.landing-shell-mobile-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.landing-shell-mobile-actions .landing-shell-lang,
.landing-shell-mobile-actions .landing-shell-open-app {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-shell-footer {
  position: relative;
  z-index: 1;
  padding: 32px 0 56px;
}

.landing-shell-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: var(--shell-muted);
  font-size: .9rem;
}

.landing-shell-footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.landing-shell-footer-dev {
  font-size: .88rem;
}

.landing-shell-footer-dev a {
  color: #cdd8e3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-shell-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.landing-shell-footer-links a {
  color: var(--shell-muted);
}

.page-shell-main {
  position: relative;
  z-index: 1;
  padding: 52px 0 84px;
}

.page-shell-grid {
  display: grid;
  gap: 22px;
}

.page-shell-panel,
.page-shell-card {
  background: var(--shell-panel);
  border: 1px solid var(--shell-line);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shell-shadow);
}

.page-shell-panel {
  padding: 34px;
}

.page-shell-card {
  padding: 24px;
}

.page-shell-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--shell-line);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c9d6e2;
  background: rgba(255, 255, 255, .03);
}

.page-shell-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--shell-accent);
  box-shadow: 0 0 0 6px rgba(76, 195, 138, .1);
}

.page-shell-title {
  margin: 20px 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.page-shell-lead,
.page-shell-copy p,
.page-shell-copy li,
.page-shell-card p,
.page-shell-card li {
  color: var(--shell-muted);
  line-height: 1.75;
}

.page-shell-copy h2,
.page-shell-card h2,
.page-shell-card h3 {
  margin: 0 0 10px;
  font-family: "Manrope", sans-serif;
  letter-spacing: -.03em;
  color: var(--shell-text);
}

.page-shell-copy a,
.page-shell-card a,
.page-shell-lead a {
  color: var(--shell-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-shell-copy a:hover,
.page-shell-card a:hover,
.page-shell-lead a:hover {
  color: #87e7b2;
}

.page-shell-copy h2 {
  margin-top: 28px;
  font-size: 1.16rem;
}

.page-shell-copy ul,
.page-shell-copy ol,
.page-shell-card ul,
.page-shell-card ol {
  padding-left: 20px;
}

.page-shell-copy li + li,
.page-shell-card li + li {
  margin-top: 6px;
}

.page-shell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-shell-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: .96rem;
  font-weight: 700;
  transition: .2s ease;
  border: 1px solid transparent;
}

.page-shell-button-primary {
  background: linear-gradient(180deg, #5bd79a 0%, #3cad78 100%);
  color: #07110c;
}

.page-shell-button-ghost {
  border-color: rgba(255, 255, 255, .12);
  color: var(--shell-text);
  background: rgba(255, 255, 255, .03);
}

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

[data-lang-content].is-active {
  display: block;
}

@media (max-width: 1100px) {
  .landing-shell-nav,
  .landing-shell-actions .landing-shell-open-app {
    display: none;
  }

  .landing-shell-menu-toggle {
    display: inline-flex;
  }

  .landing-shell-actions .landing-shell-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .landing-shell-container {
    width: min(var(--shell-max), calc(100% - 24px));
  }

  .page-shell-main {
    padding: 34px 0 70px;
  }

  .page-shell-panel,
  .page-shell-card {
    padding: 22px;
  }

  .landing-shell-topbar,
  .landing-shell-footer-row {
    min-height: unset;
  }

  .landing-shell-footer-row {
    flex-direction: column;
  }

  .landing-shell-menu {
    top: 78px;
    left: 12px;
    right: 12px;
  }

  .landing-shell-brand-logo {
    width: 120px;
    height: 33px;
  }

  .landing-shell-mobile-actions {
    flex-direction: column;
  }
}
