:root {
  --ink: #f5f8fb;
  --muted: #a8b4c2;
  --dim: #748295;
  --line: rgba(184, 198, 214, .22);
  --line-strong: rgba(205, 216, 228, .34);
  --bg: #050b14;
  --bg-2: #081421;
  --panel: rgba(12, 24, 38, .82);
  --panel-strong: rgba(16, 31, 49, .96);
  --silver: #d8e0e8;
  --silver-2: #8f9dad;
  --blue: #2f8cff;
  --blue-2: #58b7ff;
  --blue-deep: #0a3d78;
  --cyan: #45d0ff;
  --wine: #7b0a5e;
  --green: #1fbf87;
  --gold: #e7b955;
  --shadow: 0 28px 90px rgba(0, 0, 0, .34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 4%, rgba(47, 140, 255, .24), transparent 32rem),
    radial-gradient(circle at 85% 18%, rgba(69, 208, 255, .12), transparent 28rem),
    linear-gradient(180deg, var(--bg), #03070d 58%, #050910);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 11, 20, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--silver);
  font-weight: 900;
  letter-spacing: .02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .34), transparent 38%),
    linear-gradient(135deg, var(--blue-deep), var(--blue), var(--silver-2));
  box-shadow: 0 0 0 1px rgba(216, 224, 232, .28), 0 12px 34px rgba(47, 140, 255, .25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .94rem;
  color: var(--muted);
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: white;
  background: rgba(47, 140, 255, .13);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(216, 224, 232, .045);
}

.lang-switch a {
  min-width: 30px;
  padding: 6px 7px;
  border-radius: 6px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 850;
  text-align: center;
}

.lang-switch a:hover,
.lang-switch a[aria-current="true"] {
  color: white;
  background: rgba(47, 140, 255, .18);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--silver);
}

.section {
  position: relative;
  padding: 88px 0;
}

.section.soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015));
  border-block: 1px solid rgba(255, 255, 255, .06);
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 72px 0 48px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% 42%;
  height: 56%;
  background: radial-gradient(ellipse at center, rgba(47, 140, 255, .24), transparent 66%);
  pointer-events: none;
}

.hero.product-hero {
  min-height: auto;
  padding: 94px 0;
}

.launch-hero {
  min-height: calc(100vh - 74px);
  padding: 62px 0 28px;
  align-items: stretch;
}

.launch-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 42px;
  align-items: center;
  min-height: min(680px, calc(100vh - 170px));
}

.launch-copy {
  max-width: 720px;
}

.kicker {
  margin: 0 0 22px;
  color: var(--silver);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 950;
  line-height: .86;
  letter-spacing: 0;
}

.launch-copy h1 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.02;
  max-width: 640px;
}

.launch-copy .lead {
  max-width: 660px;
}

.launch-visual {
  position: relative;
  min-height: 560px;
  isolation: isolate;
}

.launch-visual::before {
  content: "";
  position: absolute;
  inset: 8% 6% 8% 12%;
  z-index: -1;
  border: 1px solid rgba(216, 224, 232, .16);
  background:
    linear-gradient(135deg, rgba(47, 140, 255, .16), transparent 48%),
    rgba(216, 224, 232, .04);
  transform: skewX(-8deg);
}

.launch-visual img {
  position: absolute;
  object-fit: cover;
  border: 1px solid rgba(216, 224, 232, .2);
  border-radius: 8px;
  box-shadow: var(--shadow);
  filter: saturate(.9) contrast(1.06);
}

.visual-main {
  right: 18%;
  top: 4%;
  width: 44%;
  height: 82%;
}

.visual-side.top {
  right: 0;
  top: 13%;
  width: 42%;
  height: 33%;
}

.visual-side.bottom {
  right: 4%;
  bottom: 6%;
  width: 48%;
  height: 36%;
}

.capability-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(216, 224, 232, .08);
}

.capability-strip a {
  min-height: 86px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 5px;
  background: rgba(4, 11, 20, .72);
}

.capability-strip strong {
  color: white;
  font-size: .98rem;
}

.capability-strip span {
  color: var(--muted);
  font-size: .88rem;
}

.focus-section {
  padding-top: 76px;
}

.focus-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: start;
}

.focus-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.focus-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.focus-list span {
  color: var(--blue-2);
  font-weight: 900;
}

.focus-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-head.compact {
  max-width: 700px;
}

.product-rail {
  display: grid;
  gap: 12px;
}

.product-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 136px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 224, 232, .08), rgba(216, 224, 232, .02)),
    rgba(7, 16, 28, .76);
}

.product-row img {
  max-height: 84px;
  width: 100%;
  object-fit: contain;
}

.product-row.sommelier-logo img {
  filter: invert(1) grayscale(.8) brightness(1.35);
}

.product-row strong {
  display: block;
  color: white;
  font-size: 1.35rem;
}

.product-row span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.clean-band {
  grid-template-columns: minmax(0, 1fr) auto;
}

.hero.paje {
  background:
    linear-gradient(90deg, rgba(5, 11, 20, .94), rgba(5, 11, 20, .7), rgba(5, 11, 20, .5)),
    url("paje-amazonia.png") center / cover no-repeat;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .78fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 770px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(216, 224, 232, .14), rgba(216, 224, 232, .02)),
    rgba(10, 23, 38, .76);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  opacity: .86;
  mix-blend-mode: screen;
  filter: saturate(.82) contrast(1.05);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(47, 140, 255, .2), transparent 42%),
    linear-gradient(0deg, rgba(5, 11, 20, .68), transparent 52%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue-2);
  font-weight: 850;
  font-size: .78rem;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-2), transparent);
}

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(2.55rem, 5.8vw, 5.9rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  font-size: 1.3rem;
}

.lead {
  margin: 24px 0 0;
  max-width: 710px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid rgba(88, 183, 255, .62);
  color: white;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: 0 14px 34px rgba(47, 140, 255, .22);
  font-weight: 850;
}

.button.secondary {
  color: var(--silver);
  background: rgba(216, 224, 232, .07);
  border-color: var(--line-strong);
  box-shadow: none;
}

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

.metric-strip {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 800px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(216, 224, 232, .055);
}

.metric strong {
  display: block;
  font-size: 1.38rem;
  color: white;
}

.metric span {
  color: var(--muted);
  font-size: .94rem;
}

.section-head {
  max-width: 810px;
  margin-bottom: 34px;
}

.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

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

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

.card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(216, 224, 232, .09), rgba(216, 224, 232, .025)),
    var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2);
}

.card.feature {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.logo-tile {
  height: 112px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid rgba(216, 224, 232, .18);
  border-radius: 8px;
  background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, .16), transparent 44%), rgba(0, 0, 0, .24);
}

.logo-tile img {
  max-height: 84px;
  width: auto;
  object-fit: contain;
}

.logo-tile.paje-logo img {
  max-height: 110px;
}

.logo-tile.sommelier-logo img {
  filter: invert(1) grayscale(.8) brightness(1.35);
}

.logo-tile.circular-logo img {
  max-height: 92px;
}

.product-logo {
  width: min(420px, 100%);
  min-height: 210px;
  display: grid;
  place-items: center;
  padding: 28px;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, .16), transparent 45%), rgba(7, 14, 24, .72);
  box-shadow: var(--shadow);
}

.product-logo.dark {
  background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, .16), transparent 45%), rgba(7, 14, 24, .72);
}

.product-logo img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}

.product-logo.paje-logo img {
  max-height: 240px;
}

.product-logo.sommelier-logo img {
  filter: invert(1) grayscale(.8) brightness(1.35);
}

.card-link {
  margin-top: auto;
  color: var(--blue-2);
  font-weight: 850;
}

.band {
  padding: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 10%, rgba(47, 140, 255, .24), transparent 26rem),
    linear-gradient(135deg, rgba(13, 31, 52, .98), rgba(7, 13, 22, .96));
  color: white;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.band p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 720px;
}

.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 52px;
  align-items: center;
}

.compact-grid {
  gap: 12px;
}

.compact-grid .card {
  padding: 20px;
}

.people-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: end;
}

.people-stack img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  filter: saturate(.88) contrast(1.04);
}

.people-stack img:nth-child(2) {
  transform: translateY(34px);
}

.people-stack.diverse-stack {
  align-items: stretch;
}

.people-stack.diverse-stack img {
  aspect-ratio: 4 / 5;
}

.people-stack.diverse-stack img:nth-child(2),
.people-stack.diverse-stack img:nth-child(4) {
  transform: translateY(28px);
}

.wide-photo {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.wide-photo img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  filter: saturate(.9) contrast(1.05);
}

.visual-panel {
  min-height: 410px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.visual-panel img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 16px 0 16px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  position: relative;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, white 0 18%, var(--blue-2) 20% 100%);
  box-shadow: 0 0 18px rgba(88, 183, 255, .4);
}

.product-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.product-nav a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(216, 224, 232, .045);
}

.product-nav a:hover {
  color: white;
  border-color: rgba(88, 183, 255, .6);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.archive-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(216, 224, 232, .08), rgba(216, 224, 232, .02)),
    var(--panel);
}

.archive-media {
  display: block;
  min-height: 100%;
  background: linear-gradient(135deg, rgba(47, 140, 255, .22), rgba(216, 224, 232, .08));
}

.archive-media img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  filter: saturate(.9) contrast(1.02);
}

.archive-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.archive-body .eyebrow {
  margin-bottom: 0;
  font-size: .68rem;
}

.archive-body p {
  color: var(--muted);
  margin: 0;
}

.article-hero .lead {
  max-width: 820px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
  gap: 28px;
}

.article-hero-image {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.article-hero-image img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.article-content {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(216, 224, 232, .075), rgba(216, 224, 232, .025)),
    var(--panel);
}

.article-content h2 {
  margin: 30px 0 12px;
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p {
  color: var(--muted);
  margin: 0 0 16px;
  font-size: 1.04rem;
}

.footer {
  padding: 44px 0;
  background: #02050a;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer strong {
  color: var(--silver);
}

@media (max-width: 900px) {
  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(5, 11, 20, .96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .lang-switch {
    margin-left: auto;
  }

  .hero,
  .hero.product-hero {
    min-height: auto;
    padding: 68px 0;
  }

  .hero-grid,
  .launch-grid,
  .focus-grid,
  .split,
  .grid.three,
  .grid.two,
  .band,
  .capability-strip {
    grid-template-columns: 1fr;
  }

  .launch-hero {
    padding-top: 52px;
  }

  .launch-grid {
    min-height: auto;
  }

  .launch-visual {
    min-height: 430px;
  }

  .visual-main {
    left: 0;
    right: auto;
    width: 54%;
  }

  .visual-side.top {
    width: 50%;
  }

  .visual-side.bottom {
    width: 58%;
  }

  .product-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-visual img {
    min-height: 320px;
  }

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

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

  .archive-media,
  .archive-media img {
    min-height: 180px;
  }

  .article-content {
    padding: 24px;
  }

  .people-stack img:nth-child(2) {
    transform: none;
  }

  .people-stack.diverse-stack img:nth-child(4) {
    transform: none;
  }

  .section {
    padding: 62px 0;
  }

  .band {
    padding: 28px;
  }
}
