@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* Datasfox UI — layout/tokens observed from umami.is via REA (ev_d907e79b…) */
:root {
  --ink: #202020;
  --bg: #fafafa;
  --bg-grey: #f0f0f0;
  --magenta: #0083ff;
  --primary: #0083ff;
  --primary-fg: #fafafa;
  --green-pill: #16a34a;
  --orange: #0083ff;
  --gray-3: #838383;
  --gray-4: #646464;
  --muted: #646464;
  --border: #e0e0e0;
  --white: #fff;
  --radius-btn-sm: 8px;
  --radius-btn: 8px;
  --radius-faq: 8px;
  --radius-pill: 999px;
  --radius-card: 12px;
  --hero-grad: #fafafa;
  --max: 1200px;
  --header-h: 70px;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, 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(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

main {
  padding-top: var(--header-h);
}

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(--primary);
}

/* Header — Umami-style fixed bar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--header-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .header-inner {
    gap: 16px;
    padding: 0 24px;
  }
}

.umami-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .umami-header {
    grid-template-columns: 1fr auto 1fr;
  }
}

.header-center {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-left: auto;
}

.nav-meta {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 0 10px;
  height: 36px;
  border-radius: 8px;
}

.nav-meta:hover {
  background: rgba(32, 32, 32, 0.04);
}

@media (min-width: 1024px) {
  .header-center {
    display: flex;
  }
  .nav-meta {
    display: inline-flex;
  }
  .header-center .nav-link {
    display: inline-flex;
    padding: 0 14px;
    height: 36px;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    border-radius: 8px;
  }
  .header-center .nav-link:hover,
  .header-center .nav-link.active {
    background: rgba(32, 32, 32, 0.04);
  }
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  line-height: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.brand-mark .brand-glyph {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.brand-mark .brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: lowercase;
}

.brand .brand-logo,
.footer-brand .brand-logo {
  display: block;
  width: auto;
  height: 22px;
  object-fit: contain;
}

@media (min-width: 640px) {
  .brand .brand-logo,
  .footer-brand .brand-logo {
    height: 24px;
    width: auto;
  }
}

.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: transparent;
  color: var(--ink);
  padding: 0 16px;
  height: 36px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  border: 0;
  cursor: pointer;
}

.btn-signin:hover {
  background: rgba(32, 32, 32, 0.05);
}

.btn-signup {
  border-radius: var(--radius-btn-sm);
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0 16px;
  height: 36px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  border: 0;
}

.btn-signup:hover {
  background: #0070db;
}

.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: none;
  }
  .nav-desktop {
    display: flex !important;
  }
  .btn-signin.nav-desktop,
  .btn-signup.nav-desktop {
    display: inline-flex !important;
  }
  .nav-user.nav-desktop {
    display: flex !important;
  }
  .nav-desktop[hidden],
  .btn-signin.nav-desktop[hidden],
  .btn-signup.nav-desktop[hidden],
  .nav-user.nav-desktop[hidden] {
    display: none !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(--primary);
  color: var(--primary-fg);
  font-size: 16px;
  font-weight: 600;
  padding: 0 20px;
  height: 48px;
  width: auto;
  max-width: 100%;
}

@media (min-width: 640px) {
  .btn-primary {
    font-size: 16px;
    padding: 0 20px;
    height: 48px;
    width: auto;
  }
}

.btn-primary:hover {
  background: #0070db;
}

.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 — Umami-style centered marketing hero */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  background: var(--bg);
  text-align: center;
}

.hero-clouds {
  display: none;
}

.cloud {
  display: none;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-eyebrow {
  display: block;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-preview {
  margin: 56px auto 0;
  max-width: 1000px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.hero-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: #fcfcfc;
}

.hero-preview-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background: var(--bg);
}

@media (min-width: 768px) {
  .hero-preview-body {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 20px;
  }
}

.hero-preview-card {
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 14px;
  text-align: left;
  min-height: 120px;
}

.hero-preview-card img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.hero-preview-card strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.hero-preview-card span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.hero-inner {
  position: relative;
  padding: 48px 16px 64px;
}

@media (min-width: 640px) {
  .hero-inner {
    padding: 80px 20px 72px;
  }
}

.hero h1 {
  margin: 0 auto;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  word-break: break-word;
  padding: 0 4px;
}

.hero p {
  margin: 20px auto 0;
  max-width: 52ch;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--muted);
  line-height: 1.65;
  padding: 0 4px;
}

.hero-cta {
  margin-top: 28px;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding: 0 4px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .hero-cta {
    margin-top: 32px;
  }
}

/* Sections */
.section {
  padding: 80px 0;
}

@media (min-width: 640px) {
  .section {
    padding: 120px 0;
  }
}

.section-grey {
  background: transparent;
}

.section-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 20px;
}

@media (min-width: 640px) {
  .section-panel {
    padding: 48px 40px;
  }
}

.cta-band {
  text-align: center;
  padding: 72px 20px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-band h2 {
  margin: 0 auto 12px;
  max-width: 20ch;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 auto 24px;
  max-width: 42ch;
  color: var(--muted);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}

.section-lead {
  margin: 14px 0 0;
  font-size: 17px;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.6;
}

.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: 12px !important;
  border: 1px solid var(--border);
  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: var(--white);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: none;
}

@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;
}

.form-msg {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.4;
}

.form-msg.is-error {
  color: #b42318;
}

.form-msg.is-ok {
  color: #067647;
}

.nav-user {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-user-email {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: rgba(11, 12, 20, 0.65);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.mobile-logout {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-top: 1px solid rgba(11, 12, 20, 0.06);
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.cart-page {
  max-width: 720px;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.cart-item {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--bg-grey);
}

@media (min-width: 640px) {
  .cart-item {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.cart-item-info {
  display: grid;
  gap: 4px;
}

.cart-item-info strong {
  font-size: 16px;
}

.cart-sku,
.cart-badge {
  font-size: 12px;
  color: rgba(11, 12, 20, 0.5);
}

.cart-badge {
  display: inline-block;
  margin-left: 8px;
  color: #b42318;
  font-weight: 600;
}

.cart-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(11, 12, 20, 0.65);
}

.cart-qty input {
  width: 72px;
  padding: 8px 10px;
  border: 1px solid rgba(11, 12, 20, 0.12);
  border-radius: 10px;
  font: inherit;
}

.cart-subtotal {
  min-width: 72px;
  font-weight: 700;
}

.cart-remove {
  border: 0;
  background: transparent;
  color: var(--magenta);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.cart-summary {
  margin-top: 24px;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(11, 12, 20, 0.06);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
}

.cart-total strong {
  font-size: 22px;
}

.price-card .form-msg {
  margin: 12px 0 0;
  text-align: center;
}

.checkout-page {
  max-width: 960px;
}

.checkout-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

@media (min-width: 860px) {
  .checkout-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.checkout-summary-card,
.checkout-pay-card {
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(11, 12, 20, 0.06);
}

.checkout-summary-card h2,
.checkout-pay-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.checkout-pay-sub {
  margin: 0 0 20px;
  font-size: 14px;
  color: rgba(11, 12, 20, 0.55);
}

.checkout-items {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.checkout-policy {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(11, 12, 20, 0.5);
}

.checkout-policy a {
  color: var(--magenta);
  font-weight: 600;
}

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-secure {
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(11, 12, 20, 0.45);
  text-align: center;
}

.checkout-success-title {
  font-size: 20px;
  font-weight: 700;
}

.cart-summary .btn {
  display: inline-flex;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.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 var(--border);
  background: var(--bg);
  padding: 48px 0 32px;
}

@media (min-width: 640px) {
  .site-footer {
    padding: 80px 0 40px;
  }
}

.footer-top {
  display: grid;
  gap: 36px;
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: minmax(220px, 1.1fr) 1.6fr;
    gap: 48px;
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-tagline {
  margin: 0 0 12px;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(11, 12, 20, 0.6);
}

.footer-operator {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(11, 12, 20, 0.55);
  font-weight: 600;
}

.footer-address {
  margin: 8px 0 0;
  max-width: 42ch;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(11, 12, 20, 0.5);
}

.footer-grid {
  display: grid;
  gap: 28px 20px;
  grid-template-columns: 1fr;
}

.footer-grid-legal {
  margin-top: 0;
}

@media (min-width: 480px) {
  .footer-grid,
  .footer-grid-legal {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}

@media (min-width: 768px) {
  .footer-grid-legal {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.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);
}

.footer-legal-links {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(11, 12, 20, 0.45);
}

.footer-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal-links a:hover {
  color: var(--magenta);
}

@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);
}
/* ===== Umami-fidelity home (REA ev_47abf314…) ===== */
body { background: #fff; }
:root { --bg: #fff; }

.u-hero {
  text-align: center;
  padding: 48px 0 0;
  background: #fff;
}
.u-hero-inner { max-width: 1200px; }
.u-eyebrow {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3.36px;
  text-transform: uppercase;
  color: var(--primary);
}
.u-hero h1 {
  margin: 0 auto;
  max-width: 800px;
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #202020;
}
.u-sub {
  margin: 20px auto 0;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.6;
  color: #646464;
}
.u-cta { margin-top: 28px; display: flex; justify-content: center; }
.u-hero-shot {
  margin: 56px auto 0;
  max-width: 1000px;
  padding: 0 8px 8px;
}

/* Dashboard mock */
.dash {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,.07);
  overflow: hidden;
  text-align: left;
}
.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: #fcfcfc;
}
.dash-brand { display: flex; align-items: center; gap: 10px; }
.dash-site { font-size: 13px; font-weight: 600; color: #202020; }
.dash-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: #646464; margin-left: 4px;
}
.dash-live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}
.dash-tools { display: flex; gap: 8px; }
.dash-tools span {
  width: 8px; height: 8px; border-radius: 50%; background: #e0e0e0;
}
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .dash-metrics { grid-template-columns: repeat(5, 1fr); }
}
.dash-metrics > div {
  padding: 16px 18px;
  border-right: 1px solid var(--border);
}
.dash-metrics > div:last-child { border-right: 0; }
.dash-metrics label {
  display: block; font-size: 12px; color: #838383; margin-bottom: 6px;
}
.dash-metrics strong {
  display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
}
.dash-metrics em {
  display: block; margin-top: 4px; font-style: normal; font-size: 12px; font-weight: 600;
}
.dash-metrics em.up { color: #16a34a; }
.dash-chart {
  display: flex; align-items: flex-end; gap: 4px;
  height: 140px; padding: 20px 18px 18px;
  background: linear-gradient(180deg, #fafafa, #fff);
}
.dash-chart i {
  flex: 1; display: block; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #4aa3ff, #0083ff);
  opacity: .85; min-width: 0;
}

/* Trusted marquee */
.u-trusted { padding: 56px 0 24px; overflow: hidden; }
.u-trusted-label {
  text-align: center; margin: 0 0 28px;
  font-size: 14px; color: #838383; font-weight: 500;
}
.u-marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.u-marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: umarquee 30s linear infinite;
  font-size: 18px; font-weight: 700; color: #c4c4c4;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.u-marquee-track span { white-space: nowrap; }
@keyframes umarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Pillars */
.u-pillars { padding: 80px 0 40px; }
.u-pillars-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.u-pillars h2,
.u-privacy h2,
.u-open h2 {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.u-pillars-lead {
  margin: 18px auto 0;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.65;
  color: #646464;
}
.u-pillar-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: left;
}
@media (min-width: 768px) {
  .u-pillar-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .u-pillar-grid { grid-template-columns: repeat(4, 1fr); }
}
.u-pillar-grid article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.u-pillar-grid h3 {
  margin: 0 0 8px; font-size: 16px; font-weight: 700;
}
.u-pillar-grid p {
  margin: 0; font-size: 14px; line-height: 1.55; color: #646464;
}

/* Feature blocks */
.uf-block { padding: 72px 0; }
.uf-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .uf-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .uf-block.is-reverse .uf-grid > .uf-media { order: 2; }
  .uf-block.is-reverse .uf-grid > .uf-copy { order: 1; }
}
.uf-kicker {
  margin: 0 0 12px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary);
}
.uf-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 16ch;
}
.uf-lead {
  margin: 14px 0 28px;
  font-size: 16px; line-height: 1.6; color: #646464;
  max-width: 42ch;
}
.uf-item { padding: 18px 0; border-top: 1px solid var(--border); }
.uf-item h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.uf-item p { margin: 0; font-size: 15px; line-height: 1.55; color: #646464; }
.uf-link {
  display: inline-block; margin-top: 10px;
  font-size: 14px; font-weight: 600; color: var(--primary);
}
.uf-media { min-width: 0; }
.uf-frame .dash { box-shadow: 0 16px 40px rgba(0,0,0,.06); }
.uf-frame .dash-chart { height: 100px; }
.uf-frame .dash-metrics strong { font-size: 18px; }

/* Privacy */
.u-privacy { padding: 80px 0; background: #fafafa; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.u-privacy-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.u-privacy-grid {
  margin-top: 40px;
  display: grid; gap: 20px; text-align: left;
}
@media (min-width: 768px) {
  .u-privacy-grid { grid-template-columns: repeat(3, 1fr); }
}
.u-privacy-grid article {
  padding: 22px; border-radius: 12px; background: #fff; border: 1px solid var(--border);
}
.u-privacy-grid h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.u-privacy-grid p { margin: 0; font-size: 14px; line-height: 1.55; color: #646464; }

/* Open / stats */
.u-open { padding: 80px 0; text-align: center; }
.u-open-inner { max-width: 900px; margin: 0 auto; }
.u-stats {
  margin: 40px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 720px;
}
.u-stats strong {
  display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.03em;
}
.u-stats span { display: block; margin-top: 4px; font-size: 13px; color: #838383; }
.u-open-actions {
  margin-top: 32px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}

/* Final CTA */
.u-final-cta {
  padding: 72px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.u-final-cta h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.u-faq { padding-top: 64px; }

/* Footer umami columns */
.footer-top-umami {
  display: grid;
  gap: 40px;
}
@media (min-width: 768px) {
  .footer-top-umami {
    grid-template-columns: minmax(220px, 280px) 1fr;
    align-items: start;
  }
}
.footer-brand-block .footer-operator {
  margin-top: 4px;
}
.footer-brand-block .footer-address {
  margin-top: 6px;
}
.footer-grid-umami {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (min-width: 768px) {
  .footer-grid-umami { grid-template-columns: repeat(3, 1fr); }
}

/* Tighten primary button to observed 48px */
.u-hero .btn-primary,
.u-final-cta .btn-primary,
.u-open-actions .btn-primary,
.u-price-cta.btn-primary {
  height: 48px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8.4px;
}

/* —— Pricing (Umami-style) —— */
.u-price-hero {
  padding: 72px 0 24px;
  text-align: center;
}
.u-price-hero h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #111;
}
.u-price-lead {
  margin: 16px 0 0;
  font-size: 18px;
  color: rgba(17, 17, 17, 0.65);
  font-weight: 400;
}

.u-price-plans {
  padding: 24px 0 64px;
}
.u-price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .u-price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .u-price-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
  }
}

.u-price-card {
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.u-price-card.is-featured {
  border-color: rgba(0, 131, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 131, 255, 0.12);
}
.u-price-card h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.u-price-amount {
  margin: 20px 0 24px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.u-price-num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #111;
}
.u-price-num.u-price-custom {
  font-size: 36px;
}
.u-price-per {
  font-size: 15px;
  color: rgba(17, 17, 17, 0.55);
  font-weight: 500;
}
.u-price-cta {
  width: 100%;
  justify-content: center;
  height: 48px;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}
.u-price-cta.btn-outline {
  border-radius: 8.4px;
  font-size: 16px;
  font-weight: 600;
}
.u-price-card .form-msg {
  margin: 8px 0 0;
  font-size: 13px;
}
.u-price-billed {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(17, 17, 17, 0.5);
}
.u-price-includes {
  margin: 28px 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.85);
}
.u-price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}
.u-price-card li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.78);
}
.u-price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--magenta);
  font-weight: 700;
}

.u-price-compare {
  padding: 24px 0 80px;
}
.u-price-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  background: #fff;
}
.u-price-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}
.u-price-table th,
.u-price-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  color: rgba(17, 17, 17, 0.8);
}
.u-price-table thead th {
  font-weight: 700;
  font-size: 14px;
  color: #111;
  background: rgba(17, 17, 17, 0.02);
}
.u-price-table tbody th[scope="row"] {
  text-align: left;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.85);
  width: 28%;
}
.u-price-table tr.u-price-section th {
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(17, 17, 17, 0.45);
  background: rgba(17, 17, 17, 0.02);
  padding-top: 18px;
  padding-bottom: 10px;
}
.u-price-check {
  color: var(--magenta);
  font-weight: 700;
}
.u-price-dash {
  color: rgba(17, 17, 17, 0.25);
}
.u-price-faq {
  padding-top: 0;
}
