@font-face {
  font-family: BioManrope;
  src: url("/fonts/manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: BioManrope;
  src: url("/fonts/manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #111214;
  --panel-soft: #17181b;
  --line: #2b2d32;
  --text: #f5f3ea;
  --muted: #a6a6ad;
  --accent: #f2eee3;
  --green: #7be39d;
  --font: BioManrope, "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

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

.page-shell {
  min-height: 100vh;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.92);
  padding: 14px clamp(16px, 4vw, 44px);
  backdrop-filter: blur(16px);
}

.reviews-page .site-nav {
  position: fixed;
  right: 0;
  left: 0;
  opacity: 0.46;
  transform: translateY(calc(-100% + 28px));
  transition:
    opacity 220ms ease,
    transform 260ms ease;
}

.reviews-page .site-nav::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -46px;
  left: 0;
  height: 56px;
}

.reviews-page .site-nav:hover,
.reviews-page .site-nav:focus-within {
  opacity: 1;
  transform: translateY(0);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.nav-links a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 13px;
  color: #deddd6;
  background: #101113;
  font-size: 13px;
  font-weight: 700;
}

.button.primary {
  border-color: var(--accent);
  color: #050505;
  background: var(--accent);
}

.hero,
.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  gap: 22px;
  padding: 72px 0 34px;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.review-wall {
  position: relative;
  display: grid;
  align-items: center;
  width: 100%;
  overflow: hidden;
  min-height: 100vh;
  padding: 0;
  background:
    radial-gradient(circle at 24% 8%, rgba(242, 238, 227, 0.075), transparent 28%),
    radial-gradient(circle at 82% 46%, rgba(255, 255, 255, 0.045), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.006));
}

.review-wall::before,
.review-wall::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(16vw, 180px);
  pointer-events: none;
}

.review-wall::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.review-wall::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.review-marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  margin: 0;
  pointer-events: none;
}

.review-card {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  gap: 10px;
  width: clamp(246px, 23vw, 360px);
  min-height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(20, 20, 21, 0.5);
  box-shadow: 0 24px 78px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translate3d(var(--from-x, -28vw), var(--from-y, 44vh), 0) scale(var(--scale, 1)) rotate(var(--rot-start, 0deg));
  animation: reviewDrift var(--duration, 84s) cubic-bezier(0.32, 0.02, 0.2, 1) infinite;
  animation-delay: var(--delay, 0s);
  backdrop-filter: blur(18px);
  will-change: transform, opacity;
}

.review-card-top,
.review-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-card strong {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.review-rating {
  color: rgba(245, 243, 234, 0.78);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.review-card p {
  margin: 0;
  color: #d9d9d4;
  font-size: 13px;
  line-height: 1.42;
}

.review-card-meta {
  color: #8f9294;
  font-size: 11px;
  font-weight: 700;
}

.review-card-meta span:last-child {
  color: #cfcfc8;
}

@keyframes reviewDrift {
  0% {
    opacity: 0;
    transform: translate3d(var(--from-x), var(--from-y), 0) scale(calc(var(--scale, 1) * 0.96)) rotate(var(--rot-start, 0deg));
  }

  1.2% {
    opacity: 0;
  }

  2.4% {
    opacity: var(--peak-opacity, 0.68);
  }

  8.5% {
    transform: translate3d(var(--mid-x), var(--mid-y), 0) scale(var(--scale, 1)) rotate(var(--rot-mid, 0deg));
  }

  13% {
    opacity: var(--peak-opacity, 0.68);
  }

  16% {
    opacity: 0;
    transform: translate3d(var(--to-x), var(--to-y), 0) scale(calc(var(--scale, 1) * 0.98)) rotate(var(--rot-end, 0deg));
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--to-x), var(--to-y), 0) scale(calc(var(--scale, 1) * 0.98)) rotate(var(--rot-end, 0deg));
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(1120px, calc(100% - 32px));
  margin: 22px auto 0;
}

.product-strip div,
.card,
.step,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.product-strip div {
  min-height: 86px;
  padding: 15px;
}

.product-strip strong,
.card strong,
.pricing-card strong {
  display: block;
  margin-bottom: 6px;
}

.product-strip span,
.card p,
.step p,
.pricing-card p,
.feature-list li {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 52px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head p {
  max-width: 600px;
  margin-bottom: 0;
}

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

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

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

.profile-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: var(--panel);
}

.profile-top {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 999px;
  color: #050505;
  background: var(--accent);
  font-weight: 700;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-top p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.profile-socials,
.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-socials span,
.profile-links i {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--muted);
  background: #0b0c0d;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.card,
.step,
.pricing-card {
  padding: 20px;
}

.card {
  display: grid;
  gap: 10px;
}

.preview {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background: #070707;
}

.avatar {
  width: 70px;
  height: 70px;
  border: 6px solid #0b0b0b;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 30px rgba(242, 238, 227, 0.24);
}

.mini-icons,
.mini-links {
  display: flex;
  gap: 7px;
}

.mini-icons span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent);
}

.mini-links {
  display: grid;
  width: 100%;
}

.mini-links span {
  height: 30px;
  border: 1px solid rgba(242, 238, 227, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.pricing-card.featured {
  border-color: var(--accent);
}

.price {
  font-size: 42px;
  line-height: 1;
}

.doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
}

.doc-nav {
  position: sticky;
  top: 76px;
  align-self: start;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: var(--panel);
}

.doc-content {
  display: grid;
  gap: 16px;
}

.doc-content article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: var(--panel);
}

code {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px 6px;
  color: var(--accent);
  background: #0b0b0c;
}

@media (max-width: 820px) {
  .site-nav,
  .section-head {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

  .product-strip,
  .grid,
  .profile-grid,
  .grid.two,
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .review-card {
    width: 260px;
  }
}
