@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap");

:root {
  --ink: #0b0c14;
  --bg-grey: #f4f5f8;
  --magenta: #5b4be6;
  --green-pill: #00b894;
  --orange: #6d5efc;
  --gray-3: #9d9ca2;
  --gray-4: #6c6b75;
  --white: #fff;
  --radius-btn-sm: 6px;
  --radius-btn: 12px;
  --radius-faq: 15px;
  --radius-pill: 28px;
  --radius-card: 34px;
  --hero-grad: linear-gradient(180deg, #c7c3ff, #ddeafd 45%, #fff);
  --max: 1200px;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-text: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 20px;
  }
}

.font-display {
  font-family: var(--font-display);
}

.text-magenta {
  color: var(--magenta);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(11, 12, 20, 0.05);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  height: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px;
}

@media (min-width: 640px) {
  .header-inner {
    gap: 16px;
    min-height: 72px;
    padding: 0 20px;
  }
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  line-height: 0;
}

.brand .brand-logo,
.footer-brand .brand-logo {
  display: block;
  width: 80px;
  height: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .brand .brand-logo,
  .footer-brand .brand-logo {
    width: 100px;
  }
}

.header-search {
  display: none;
  flex: 1;
  max-width: 420px;
  margin: 0 auto;
}

.header-search label {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-grey);
  padding: 10px 16px;
  color: rgba(11, 12, 20, 0.5);
  box-shadow: inset 0 0 0 1px rgba(11, 12, 20, 0.05);
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
}

.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .header-nav {
    gap: 20px;
  }
}

.nav-link {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(11, 12, 20, 0.8);
}

.nav-link:hover {
  color: var(--ink);
}

.nav-divider {
  display: none;
  width: 1px;
  height: 20px;
  background: rgba(11, 12, 20, 0.15);
}

.nav-desktop {
  display: none !important;
}

.btn-signin {
  border-radius: var(--radius-btn-sm);
  background: var(--ink);
  color: #fff;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
  white-space: nowrap;
}

.btn-signin:hover {
  background: rgba(11, 12, 20, 0.85);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: var(--bg-grey);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  padding: 0;
}

.menu-btn-label {
  display: none;
}

@media (min-width: 400px) {
  .menu-btn {
    width: auto;
    padding: 8px 12px;
  }
  .menu-btn-label {
    display: inline;
  }
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(11, 12, 20, 0.05);
  background: #fff;
  padding: 8px 16px 16px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(11, 12, 20, 0.05);
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

@media (min-width: 1024px) {
  .header-search {
    display: block;
  }
  .nav-link,
  .nav-divider,
  .nav-desktop {
    display: flex !important;
  }
  .btn-signin.nav-desktop {
    display: inline-flex !important;
  }
  .menu-btn {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-btn);
  padding: 14px 28px;
  font-weight: 600;
  transition: background 0.15s, transform 0.15s;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  padding: 14px 24px;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .btn-primary {
    font-size: 18px;
    padding: 18px 32px;
    width: auto;
  }
}

.btn-primary:hover {
  background: rgba(11, 12, 20, 0.85);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(11, 12, 20, 0.2);
  color: var(--ink);
  font-size: 14px;
  padding: 10px 20px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.6);
}

.app-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-actions .btn,
.app-actions .btn-primary,
.app-actions .btn-outline {
  width: 100%;
  text-align: center;
}

@media (min-width: 640px) {
  .app-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .app-actions .btn,
  .app-actions .btn-primary,
  .app-actions .btn-outline {
    width: auto;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: -72px;
  padding-top: 72px;
  background: var(--hero-grad);
  text-align: center;
}

.hero-clouds {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.cloud {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  animation: float 12s ease-in-out infinite;
}

.cloud-1 {
  left: -80px;
  top: 128px;
  height: 224px;
  width: 420px;
}

.cloud-2 {
  right: 0;
  top: 208px;
  height: 256px;
  width: 460px;
  animation-delay: -4s;
}

.cloud-3 {
  left: 33%;
  top: 288px;
  height: 192px;
  width: 380px;
  animation-delay: -7s;
  opacity: 0.85;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-inner {
  position: relative;
  padding: 40px 16px 56px;
}

@media (min-width: 640px) {
  .hero-inner {
    padding: 64px 20px 80px;
  }
}

.hero h1 {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(28px, 8.2vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  word-break: break-word;
  padding: 0 4px;
}

.hero p {
  margin: 20px auto 0;
  max-width: 46ch;
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(11, 12, 20, 0.7);
  line-height: 1.65;
  padding: 0 4px;
}

.hero-cta {
  margin-top: 28px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 4px;
}

@media (min-width: 640px) {
  .hero-cta {
    margin-top: 36px;
  }
}

/* Sections */
.section {
  padding: 64px 0;
}

@media (min-width: 640px) {
  .section {
    padding: 100px 0;
  }
}

.section-grey {
  background: var(--bg-grey);
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-lead {
  margin: 16px 0 0;
  font-size: 17px;
  color: rgba(11, 12, 20, 0.7);
  max-width: 52ch;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.carousel-nav {
  display: none;
  gap: 8px;
}

@media (min-width: 640px) {
  .carousel-nav {
    display: flex;
  }
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(11, 12, 20, 0.15);
  background: #fff;
  cursor: pointer;
  color: var(--ink);
}

.icon-btn:hover {
  background: rgba(11, 12, 20, 0.05);
}

/* Extension cards carousel */
.card-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 28px 0 16px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  scrollbar-width: none;
  max-width: 100vw;
}

@media (min-width: 640px) {
  .card-rail {
    gap: 24px;
    margin: 0;
    padding: 40px 0 16px;
    max-width: none;
  }
}

.card-rail::-webkit-scrollbar {
  display: none;
}

.ext-card {
  flex: 0 0 min(300px, calc(100vw - 48px));
  width: min(300px, calc(100vw - 48px));
  max-width: 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 20px;
  box-shadow: inset 0 0 0 1px rgba(11, 12, 20, 0.05);
  transition: box-shadow 0.2s;
  color: var(--ink);
}

.ext-card:hover {
  box-shadow: inset 0 0 0 1px rgba(11, 12, 20, 0.15);
}

@media (min-width: 640px) {
  .ext-card {
    flex: 0 0 380px;
    width: 380px;
    border-radius: var(--radius-card);
    padding: 28px;
  }
}

.ext-card-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ext-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
  padding: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.ext-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.ext-cat {
  font-size: 12px;
  font-weight: 500;
  color: rgba(11, 12, 20, 0.55);
}

.pill {
  margin-left: auto;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(11, 12, 20, 0.8);
  white-space: nowrap;
  flex-shrink: 0;
}

.ext-card-top > div {
  min-width: 0;
  flex: 1;
}

.ext-card-top h3 {
  overflow: hidden;
  text-overflow: ellipsis;
}

.ext-card .tagline {
  margin: 20px 0 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.ext-card .desc {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(11, 12, 20, 0.65);
}

.ext-card .view {
  margin-top: 24px;
  align-self: flex-start;
}

.ext-preview {
  margin-top: 24px;
  height: 144px;
  width: 100%;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bar {
  height: 10px;
  border-radius: 6px;
  background: rgba(11, 12, 20, 0.1);
}

.bar.short {
  width: 66%;
}

.bar.mid {
  width: 50%;
}

.preview-block {
  margin-top: auto;
  height: 64px;
  border-radius: 12px;
  background: rgba(11, 12, 20, 0.06);
}

/* Feature grid */
.feature-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .feature-grid {
    gap: 24px;
    margin-top: 64px;
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

@media (min-width: 640px) {
  .feature-card {
    border-radius: var(--radius-card);
    padding: 32px;
  }
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(91, 75, 230, 0.1);
  color: var(--magenta);
}

.feature-card h3 {
  margin: 16px 0 0;
  font-size: 18px;
  font-weight: 700;
}

@media (min-width: 640px) {
  .feature-card h3 {
    margin: 20px 0 0;
    font-size: 22px;
  }
}

.feature-card p {
  margin: 10px 0 0;
  font-size: 15px;
  color: rgba(11, 12, 20, 0.7);
}

@media (min-width: 640px) {
  .feature-card p {
    margin: 12px 0 0;
    font-size: 16px;
  }
}

/* Steps */
.steps-grid {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .steps-grid {
    gap: 48px;
    margin-top: 64px;
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.steps {
  position: relative;
  padding-left: 44px;
}

@media (min-width: 640px) {
  .steps {
    padding-left: 48px;
  }
}

.steps-line {
  position: absolute;
  left: 18px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: rgba(11, 12, 20, 0.1);
}

.step {
  position: relative;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .step {
    margin-bottom: 64px;
  }
}

.step:last-child {
  margin-bottom: 0;
}

.step-num {
  position: absolute;
  left: -44px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  color: rgba(11, 12, 20, 0.6);
  box-shadow: inset 0 0 0 1px rgba(11, 12, 20, 0.1);
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 640px) {
  .step-num {
    left: -48px;
  }
}

.step.active .step-num {
  background: var(--magenta);
  color: #fff;
  box-shadow: none;
}

.step h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

@media (min-width: 640px) {
  .step h3 {
    font-size: 24px;
  }
}

.step p {
  margin: 12px 0 0;
  max-width: 42ch;
  font-size: 15px;
  color: rgba(11, 12, 20, 0.7);
}

@media (min-width: 640px) {
  .step p {
    font-size: 16px;
  }
}

.chrome-mock {
  display: none;
  border-radius: var(--radius-card);
  border: 10px solid rgba(11, 12, 20, 0.9);
  background: var(--ink);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

@media (min-width: 1024px) {
  .chrome-mock {
    display: block;
    position: sticky;
    top: 112px;
  }
}

.chrome-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.chrome-title {
  margin-left: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.chrome-body {
  height: calc(100% - 44px);
  background: #fff;
  padding: 24px;
}

.chrome-panel {
  height: 78%;
  border-radius: 16px;
  background: #e7e3ff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chrome-panel .cta-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chip {
  border-radius: var(--radius-btn-sm);
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-faq);
  background: var(--bg-grey);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

@media (min-width: 640px) {
  .faq-q {
    padding: 24px 60px;
    font-size: 18px;
    gap: 16px;
  }
}

.faq-a {
  display: none;
  padding: 0 18px 18px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(11, 12, 20, 0.7);
}

@media (min-width: 640px) {
  .faq-a {
    padding: 0 60px 24px;
    font-size: 16px;
  }
}

.faq-item.open .faq-a {
  display: block;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 40px 0 32px;
  background: var(--hero-grad);
}

@media (min-width: 640px) {
  .page-hero {
    padding: 72px 0 48px;
  }
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(28px, 7vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  word-break: break-word;
}

.page-hero p {
  margin: 16px 0 0;
  max-width: 52ch;
  font-size: 17px;
  color: rgba(11, 12, 20, 0.7);
}

/* Catalog grid */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0;
}

.filter-btn {
  border: 1px solid rgba(11, 12, 20, 0.1);
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: rgba(11, 12, 20, 0.7);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.catalog-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .catalog-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.catalog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(11, 12, 20, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

@media (min-width: 640px) {
  .catalog-card {
    padding: 24px;
    border-radius: 24px;
  }
}

.catalog-card:hover {
  box-shadow: inset 0 0 0 1px rgba(11, 12, 20, 0.12), 0 8px 24px rgba(11, 12, 20, 0.06);
  transform: translateY(-2px);
}

.catalog-card .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 500;
  color: rgba(11, 12, 20, 0.55);
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}

.badge-new {
  background: rgba(91, 75, 230, 0.12);
  color: var(--magenta);
}

.badge-live {
  background: rgba(0, 184, 148, 0.12);
  color: #008f72;
}

.badge-beta {
  background: rgba(255, 87, 34, 0.12);
  color: #e64a19;
}

.badge-dev {
  background: rgba(109, 107, 117, 0.12);
  color: #6c6b75;
}

/* App detail */
.app-hero {
  padding: 36px 0 28px;
  background: var(--hero-grad);
  overflow: hidden;
}

@media (min-width: 640px) {
  .app-hero {
    padding: 56px 0 40px;
  }
}

.app-hero-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .app-hero-top {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }
}

.app-hero-top > div {
  min-width: 0;
  width: 100%;
  flex: 1;
}

.app-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #fff;
  padding: 8px;
  object-fit: contain;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

@media (min-width: 640px) {
  .app-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    padding: 10px;
  }
}

.app-hero h1 {
  margin: 0;
  font-size: clamp(24px, 7vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.app-hero .tagline {
  margin: 8px 0 0;
  font-size: 16px;
  color: rgba(11, 12, 20, 0.7);
}

@media (min-width: 640px) {
  .app-hero .tagline {
    font-size: 18px;
  }
}

.app-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(11, 12, 20, 0.6);
}

.content-grid {
  display: grid;
  gap: 32px;
  padding: 32px 0 64px;
}

@media (min-width: 640px) {
  .content-grid {
    gap: 48px;
    padding: 56px 0 100px;
  }
}

@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: 1.4fr 0.8fr;
  }
}

.prose h2 {
  margin: 40px 0 16px;
  font-size: 24px;
  font-weight: 700;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: rgba(11, 12, 20, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.prose ul {
  padding-left: 20px;
}

.prose li {
  margin: 8px 0;
}

.feat-mini-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .feat-mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feat-mini {
  padding: 20px;
  border-radius: 20px;
  background: var(--bg-grey);
}

.feat-mini h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.feat-mini p {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(11, 12, 20, 0.65);
}

.side-card {
  position: static;
  border-radius: 24px;
  background: var(--bg-grey);
  padding: 20px;
}

@media (min-width: 1024px) {
  .side-card {
    position: sticky;
    top: 100px;
    border-radius: var(--radius-card);
    padding: 28px;
  }
}

.side-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.perm-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.perm-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(11, 12, 20, 0.06);
  font-size: 14px;
}

.perm-list strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.local-note {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #008f72;
}

/* Pricing */
.price-card {
  max-width: 480px;
  margin-top: 28px;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: inset 0 0 0 1px rgba(11, 12, 20, 0.06);
}

@media (min-width: 640px) {
  .price-card {
    margin-top: 40px;
    border-radius: var(--radius-card);
    padding: 32px;
  }
}

.price-card .price {
  font-size: clamp(32px, 8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-card .once {
  font-size: 14px;
  color: rgba(11, 12, 20, 0.55);
  font-weight: 500;
}

.price-card ul {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  padding: 8px 0;
  font-size: 15px;
}

.price-card li::before {
  content: "✓ ";
  color: var(--magenta);
  font-weight: 700;
}

.note-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(91, 75, 230, 0.08);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(11, 12, 20, 0.75);
}

@media (min-width: 640px) {
  .note-box {
    margin-top: 24px;
    padding: 20px;
    border-radius: 20px;
    font-size: 15px;
  }
}

/* Tools */
.tool-card {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(11, 12, 20, 0.06);
}

.tool-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.tool-card p {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(11, 12, 20, 0.65);
}

.tool-panel {
  max-width: 720px;
  margin: 24px auto;
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: inset 0 0 0 1px rgba(11, 12, 20, 0.06);
}

@media (min-width: 640px) {
  .tool-panel {
    margin: 40px auto;
    border-radius: var(--radius-card);
    padding: 32px;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid rgba(11, 12, 20, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  background: var(--bg-grey);
}

.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(91, 75, 230, 0.2);
  border-color: var(--magenta);
}

.tool-result {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-grey);
  word-break: break-all;
  font-size: 14px;
  min-height: 48px;
}

/* Auth / cart simple */
.auth-card {
  max-width: 420px;
  margin: 32px auto;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(11, 12, 20, 0.06);
}

@media (min-width: 640px) {
  .auth-card {
    margin: 60px auto;
    padding: 36px;
    border-radius: var(--radius-card);
  }
}

.auth-card h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
}

.auth-card .sub {
  margin: 0 0 28px;
  color: rgba(11, 12, 20, 0.6);
  font-size: 15px;
}

.auth-card .auth-form .btn {
  margin-top: 4px;
}

.auth-card .auth-switch {
  margin: 16px 0 0;
  font-size: 13px;
  color: rgba(11, 12, 20, 0.55);
  text-align: center;
}

.auth-card .auth-switch a {
  color: var(--magenta);
  font-weight: 600;
}

.auth-card .auth-switch a:hover {
  text-decoration: underline;
}

.stats-row {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 40px 0;
  }
}

.stat {
  text-align: center;
  padding: 20px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.stat .num {
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat .label {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(11, 12, 20, 0.6);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(11, 12, 20, 0.05);
  background: #fff;
  padding: 48px 0 32px;
}

@media (min-width: 640px) {
  .site-footer {
    padding: 80px 0 40px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
}

.footer-grid {
  display: grid;
  gap: 28px 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.footer-grid h3 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin: 0 0 10px;
}

.footer-grid a {
  font-size: 14px;
  color: rgba(11, 12, 20, 0.6);
}

.footer-grid a:hover {
  color: var(--ink);
}

.newsletter {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border-radius: 24px;
  background: var(--bg-grey);
}

@media (min-width: 640px) {
  .newsletter {
    margin-top: 56px;
    gap: 24px;
    padding: 28px;
    border-radius: var(--radius-card);
  }
}

@media (min-width: 1024px) {
  .newsletter {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.newsletter p {
  margin: 0;
}

.newsletter .title {
  font-size: 15px;
  font-weight: 600;
}

.newsletter .hint {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(11, 12, 20, 0.6);
}

.newsletter-form {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(11, 12, 20, 0.15);
  background: #fff;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .newsletter-form {
    max-width: 320px;
  }
}

.newsletter-form input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 16px;
  font-size: 14px;
  background: transparent;
}

.newsletter-form button {
  margin: 4px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sister {
  margin-top: 64px;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--bg-grey);
}

.sister strong {
  display: block;
  font-size: 15px;
}

.sister p {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(11, 12, 20, 0.65);
  line-height: 1.6;
}

.sister-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 16px;
  list-style: none;
  padding: 0;
}

.sister-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(11, 12, 20, 0.75);
}

.sister-links a:hover {
  color: var(--magenta);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(11, 12, 20, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: rgba(11, 12, 20, 0.55);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.hidden-sm {
  display: none;
}

@media (min-width: 640px) {
  .hidden-sm {
    display: inline;
  }
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: rgba(11, 12, 20, 0.55);
}

/* —— Apps catalog (mirrors plugverses/apps) —— */
.apps-page {
  padding-bottom: 80px;
}

.apps-wrap {
  padding-top: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 20px 0;
  font-size: 13px;
  color: #6c6b75;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb span {
  color: var(--ink);
}

.breadcrumb svg {
  color: #9d9ca2;
  flex-shrink: 0;
}

.apps-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 64px;
}

@media (min-width: 1024px) {
  .apps-layout {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }
}

.apps-sidebar {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .apps-sidebar {
    width: 256px;
  }
}

.cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.cat-list::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .cat-list {
    flex-direction: column;
    overflow: visible;
    position: sticky;
    top: 88px;
    gap: 4px;
  }
}

.cat-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  white-space: nowrap;
  border: 0;
  background: transparent;
  color: rgba(11, 12, 20, 0.7);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cat-btn svg {
  flex-shrink: 0;
  color: rgba(11, 12, 20, 0.55);
}

.cat-btn:hover {
  background: var(--bg-grey);
  color: var(--ink);
}

.cat-btn.active {
  background: var(--bg-grey);
  color: var(--ink);
}

.cat-btn.active svg {
  color: var(--magenta);
}

.apps-main {
  flex: 1;
  min-width: 0;
}

.apps-header h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.apps-filters {
  margin: 20px 0 12px;
}

.apps-lead {
  margin: 0;
  max-width: 52ch;
  font-size: 16px;
  color: rgba(11, 12, 20, 0.7);
  line-height: 1.6;
}

.release-card {
  margin-top: 32px;
  border-radius: var(--radius-card);
  background: var(--ink);
  color: #fff;
  padding: 28px 24px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .release-card {
    padding: 40px;
  }
}

.release-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.release-card h2 {
  margin: 8px 0 0;
  max-width: 26ch;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.release-card > p {
  margin: 12px 0 0;
  max-width: 56ch;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.release-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.release-btn {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-btn-sm);
  background: #fff;
  color: var(--ink);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}

.release-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

.release-link {
  font-size: 14px;
  font-weight: 600;
  color: #6d5efc;
}

.release-link:hover {
  color: rgba(109, 94, 252, 0.8);
}

.apps-count {
  margin: 40px 0 8px;
  font-size: 14px;
  color: #6c6b75;
}

.list-grid {
  display: grid;
  gap: 8px 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .list-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1280px) {
  .list-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.list-card {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-faq);
  transition: background 0.15s;
  color: var(--ink);
  min-width: 0;
}

.list-card:hover {
  background: var(--bg-grey);
}

.list-new {
  position: absolute;
  top: -2px;
  left: 48px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 20px;
  border-radius: var(--radius-btn-sm);
  background: #ff5722;
  color: #fff;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 500;
}

.list-icon {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 15px;
  background: #fff;
  object-fit: contain;
  padding: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  outline: 1px solid rgba(11, 12, 20, 0.05);
}

.list-body {
  min-width: 0;
  flex: 1;
  padding-top: 2px;
}

.list-title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.list-title-row h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.list-price {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(11, 12, 20, 0.55);
  white-space: nowrap;
}

.list-tagline {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(11, 12, 20, 0.65);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-meta {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(11, 12, 20, 0.5);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.list-meta .badge {
  font-size: 11px;
}

.filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
