:root {
  --bg: #000000;
  --bg-card: #161b22;
  --border: #30363d;
  --feature-bg: #0d1117;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent: #FF6900;
  --accent-hover: #FF6900;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }
body { margin: 0; font-family: system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; overflow: hidden; overflow-x: hidden; }

.sidebar { width: 260px; min-width: 260px; height: 100vh; padding: 1.5rem; border-right: 1px solid var(--border); display: flex; flex-direction: column; flex-shrink: 0; overflow: hidden; overflow-x: hidden; }

.topnav { flex-shrink: 0; position: relative; z-index: 10; border-bottom: 1px solid var(--border); background: var(--bg); }
.topnav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; max-width: 76rem; margin: 0 auto; }
.topnav-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.topnav-logo:hover { color: var(--accent); }
.topnav-links { display: flex; align-items: center; gap: 0.5rem 1.5rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topnav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; padding: 0.4rem 0; border-radius: 4px; }
.topnav-links a:hover, .topnav-links a.active { color: var(--accent); }
.topnav-dropdown { position: relative; }
.topnav-details { display: inline-block; }
.topnav-dropdown-trigger { cursor: pointer; color: var(--text-muted); font-size: 0.9rem; padding: 0.4rem 0; list-style: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.topnav-dropdown-trigger::-webkit-details-marker { display: none; }
.topnav-dropdown-chevron { display: inline-flex; color: var(--text-muted); opacity: 1; }
.topnav-dropdown-chevron svg { width: 1rem; height: 1rem; opacity: 1; }
.topnav-dropdown-chevron-up { display: none; }
.topnav-details[open] .topnav-dropdown-chevron-down { display: none; }
.topnav-details[open] .topnav-dropdown-chevron-up { display: inline-flex; }
.topnav-dropdown-trigger:hover, .topnav-dropdown-trigger.active { color: var(--accent); }
.topnav-dropdown-trigger:hover .topnav-dropdown-chevron, .topnav-dropdown-trigger.active .topnav-dropdown-chevron { color: inherit; }
.topnav-dropdown-menu { position: absolute; top: 100%; left: 0; margin: 0.25rem 0 0; padding: 0.5rem 0; min-width: 10rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.3); list-style: none; z-index: 100; }
.topnav-dropdown-menu li { margin: 0; }
.topnav-dropdown-menu a { display: block; padding: 0.5rem 1rem; font-size: 0.875rem; white-space: nowrap; }
.topnav-github .github-link { display: inline-flex; padding: 0.25rem; }
.topnav-toggle { display: none; }
.topnav-menu-btn { display: none; padding: 0.5rem; cursor: pointer; color: var(--text-muted); }
.topnav-menu-btn:hover { color: var(--accent); }
.topnav-menu-btn svg { width: 1.5rem; height: 1.5rem; }
.sidebar-inner { flex: 1; min-height: 0; overflow: hidden; }
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-img { width: 28px; height: 28px; flex-shrink: 0; }
.logo a { font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.sidebar-footer { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--text-muted); flex-shrink: 0; }
.sidebar-footer a { color: var(--text-muted); text-decoration: none; }
.sidebar-footer a:hover { color: var(--accent); }
.sidebar-footer .copyright { margin-top: 0.5rem; }
.logo a:hover { color: var(--accent); }
.nav-links { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.nav-links li { margin: 0.25rem 0; }
.nav-links a { color: var(--text-muted); text-decoration: none; display: block; padding: 0.4rem 0; font-size: 0.9rem; border-radius: 4px; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-section { color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 1rem; padding: 0.5rem 0; }
.nav-divider { height: 0; margin: 0.75rem 0; padding: 0; border-top: 1px solid var(--border); list-style: none; }
.nav-github { margin-top: 0.5rem; }
.github-link { display: inline-flex; align-items: center; color: var(--text-muted); }
.github-link:hover { color: var(--accent); }
.github-icon { width: 1.25rem; height: 1.25rem; }

.content { flex: 1; min-width: 0; overflow-y: auto; overflow-x: hidden; display: flex; justify-content: center; }
.page-footer { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; padding: 1.5rem 2rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--text-muted); }
.page-footer-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1rem; }
.page-footer a { color: var(--text-muted); text-decoration: none; }
.page-footer a:hover { color: var(--accent); }
.page-footer-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1rem; color: var(--text); }
.page-footer-logo:hover { color: var(--accent); }
.page-footer-copyright { margin: 0; }
.page-footer a.page-footer-sales,
.page-footer a.page-footer-sales:hover {
  color: #FF6900;
  text-decoration: none;
}
.content-inner { width: 100%; max-width: 76rem; padding: 2rem 3rem 2rem; align-self: flex-start; }
.content-inner > section + section { margin-top: 2rem; }
.hero { margin-bottom: 2rem; }
.hero h1 { font-size: 2.5rem; font-weight: 700; margin: 0 0 0.5rem; }
.tagline { font-size: 1.25rem; color: var(--text-muted); margin: 0; }

.hero-logo { margin-bottom: 2rem; display: flex; justify-content: center; }
.hero-logo-img { display: block; max-width: 50px; height: auto; }

h2 { font-size: 1.5rem; margin: 2rem 0 2rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
h3 { font-size: 1.1rem; margin: 2rem 0 0.5rem; }
p { margin: 0 0 1rem; color: var(--text); }
input { color: var(--text); display: block; width: 100%; height: 3.125rem; padding: 0.75rem 1rem; border-radius: 0.625rem; border: 1px solid #1E2939; background: #101828; box-sizing: border-box; }
textarea { color: var(--text); display: block; width: 100%; height: 6.125rem; padding: 0.75rem 1rem; border-radius: 0.625rem; border: 1px solid #1E2939; resize: none; background: #101828; box-sizing: border-box; font-family: inherit; }
.intro p, .doc-content p { color: var(--text); }

.features { margin: 0 auto; align-items: center; justify-content: center; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin: 2rem 0; justify-content: center; }
.feature-grid-wider { grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); gap: 2rem; margin: 2rem 0; }
.get-started-backend .feature-grid,
.get-started-frontend .feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.get-started-backend .feature-card,
.get-started-frontend .feature-card {
  width: 100%;
}
@media (max-width: 900px) {
  .get-started-backend .feature-grid,
  .get-started-frontend .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .get-started-backend .feature-grid,
  .get-started-frontend .feature-grid {
    grid-template-columns: 1fr;
  }
}
.feature-card {
  border-radius: 1rem;
  border: 1px solid #364153;
  background: var(--feature-bg);
  width: 22rem;
  flex-shrink: 0;
  padding: 2rem;
}
.feature-card.link {
  text-decoration: none;
  color: inherit;
}
.feature-card.link:hover {
  cursor: pointer;
  border-color: var(--accent);
}
.feature-card-wider {
  width: 100%;
}
.feature-card h3 { margin-top: 1rem; color: var(--text); font-size: 1rem; }
.feature-card p { margin: 0; font-size: 0.9rem; text-align: start; }
.feature-card-icon {
  background: #FF6900;
  border-radius: 0.875rem;
  display: flex;
  width: 3rem;
  height: 3rem;
  justify-content: center;
  align-items: center;
}
.feature-card-icon-gradient {
  background: linear-gradient(135deg, #FB2C36 0%, #E7000B 100%);
  border-radius: 0.875rem;
  display: flex;
  width: 3rem;
  height: 3rem;
  justify-content: center;
  align-items: center;
}
.feature-card-get-started {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.feature-card-get-started-step {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 105, 0, 0.20);
  font-size: 3rem;
  font-style: normal;
  font-weight: 700;
}

.get-started-cta{
  display: flex;
  width: 100%;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  flex-direction: row;
  align-items: flex-start;
  border-radius: 0.875rem;
  gap: 1rem;
  border: 1px solid rgba(255, 105, 0, 0.30);
  background: linear-gradient(135deg, rgba(126, 42, 12, 0.30) 0%, rgba(130, 24, 26, 0.30) 100%);
  margin: 2rem 0;
}
.get-started-cta img {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.get-started-cta-content {
  flex-direction: row;
  align-items: flex-start;
}
.get-started-cta-title {
  color: #FFF;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.75rem;
}
.get-started-cta-description {
  color: #D1D5DC;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
}
.get-started-backend-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.get-started-frontend-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sdks {
  margin-top: 2rem;
}
/* Index only: SDK row spans full viewport width so eight cards fit one row without overflow */
.page-index .sdks {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}
.sdks-title {
  color: var(--text);
  text-align: center;
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 700;
}
.sdks-description {
  color: #99A1AF;
  text-align: center;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
}

.sdk-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
  justify-content: center;
}
.sdks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 9rem);
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.sdks-grid p {
  margin-bottom: 0;
}
.sdk-card {
  transition: border-color 0.2s;
  border-radius: 0.875rem;
  border: 1px solid #101828;
  background: #000;
  width: 9rem;
  min-width: 9rem;
  max-width: 9rem;
  min-height: 7.125rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  box-sizing: border-box;
}
.sdk-card:hover { cursor: pointer; border-color: var(--accent); }

pre, code { font-family: ui-monospace, monospace; font-size: 0.875rem; }
pre { background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 1rem; overflow-x: hidden; overflow-wrap: break-word; white-space: pre-wrap; margin: 2rem 0; }
code { background: var(--bg-card); padding: 0.2em 0.4em; border-radius: 4px; }
.doc-content h1, .doc-content h2, .doc-content h3, .doc-content h4, .doc-content h5, .doc-content h6,
.doc-content p, .doc-content li, .doc-content blockquote { text-align: justify; }
.doc-content ul { margin: 0 0 1rem; padding-left: 1.5rem; }
.doc-content li { margin: 0.25rem 0; }
.doc-content table { border-collapse: collapse; width: 100%; margin: 2rem 0 1rem; }
.doc-content th, .doc-content td { border: 1px solid var(--border); padding: 0.5rem 0.75rem; text-align: left; }
.doc-content th { background: var(--bg-card); }
.doc-content a { color: var(--accent); }

table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid #1E2939;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
}
thead {
  display: table-header-group;
  border-bottom: 1px solid #364153;
  background: var(--bg-card);
}
tbody {
  display: table-row-group;
}
tr {
  display: table-row;
}
th, td {
  display: table-cell;
  padding: 1rem 1.5rem;
  text-align: left;
  vertical-align: middle;
}
th {
  height: 3rem;
  font-weight: 600;
  border-bottom: 1px solid #364153;
}
tbody tr:last-child td {
  border-bottom: none;
}
table td img,
table td span {
  display: inline;
  vertical-align: middle;
}
table td img {
  height: 1.4rem;
  width: auto;
  margin-right: 0.5rem;
}
.table-row-highlight {
  color: var(--accent);
}

/* why-noxy & similar: comparison table scrolls instead of overflowing viewport */
section.table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
section.table table {
  margin: 0;
  width: 100%;
  /* Narrow viewports: scroll horizontally instead of overflowing page */
  min-width: 26rem;
}
@media (max-width: 768px) {
  section.table table {
    font-size: 0.8125rem;
  }
  section.table table th,
  section.table table td {
    padding: 0.5rem 0.75rem;
  }
  section.table table td span {
    word-break: break-word;
  }
}

/* Why Noxy: two comparison tables share the same column widths */
.page-why-noxy section.table table {
  table-layout: fixed;
}
.page-why-noxy section.table th:nth-child(1),
.page-why-noxy section.table td:nth-child(1) {
  width: 26%;
}
.page-why-noxy section.table th:nth-child(2),
.page-why-noxy section.table td:nth-child(2) {
  width: 37%;
}
.page-why-noxy section.table th:nth-child(3),
.page-why-noxy section.table td:nth-child(3) {
  width: 37%;
}
.page-why-noxy section.table th,
.page-why-noxy section.table td {
  overflow-wrap: break-word;
  word-break: break-word;
}
.page-why-noxy section.table th.why-noxy-col-without {
  color: #fb2c36;
}
.page-why-noxy section.table th.why-noxy-col-with {
  color: #22c55e;
}

/* <--- Landing Block Start ---> */
.landing { 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #101828 0%, #000 50%, #441306 100%);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
body:not(.page-terms-of-service):not(.page-privacy-policy) .topnav {
  background: transparent;
  border: none;
  box-shadow: none;
  margin-bottom: 0;
}
body:not(.page-terms-of-service):not(.page-privacy-policy)::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: linear-gradient(135deg, #101828 0%, #000 50%, #441306 100%);
  z-index: -1;
  pointer-events: none;
}
.page-index .content {
  margin-top: 0;
  border: none;
}
.page-index .content-inner {
  padding-top: 0;
}
.page-index .landing {
  background: transparent;
  box-shadow: none;
  min-height: 100vh;
}

.page-terms-of-service h1, .page-privacy-policy h1 {
  margin-top: 0;
}

.landing-bg {
  position: relative;
  flex-shrink: 0;
  width: min(28rem, 100%);
  min-height: 22rem;
  overflow: visible;
  align-self: center;
}
/* Blurred gradient orb (behind landing decision-request card stack) */
.landing-bg-blob {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0.2;
  background: linear-gradient(135deg, #FF6900 0%, #E7000B 100%);
  filter: blur(64px);
  z-index: 0;
  pointer-events: none;
}
.notification-cascade-root {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
  pointer-events: none;
}
.notification-cascade-inner {
  width: 100%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ncc-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translate3d(-30px, -20px, 0);
  animation: ncc-enter 0.5s ease-out forwards;
  animation-delay: var(--nc-delay, 0s);
}
.ncc-card--urgent {
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(239, 68, 68, 0.85);
}
@keyframes ncc-enter {
  to {
    opacity: 1;
    transform: translate3d(var(--nc-x, 0), 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ncc-card {
    animation: none;
    opacity: 1;
    transform: translate3d(var(--nc-x, 0), 0, 0);
  }
}
.ncc-sprite {
  display: block;
  flex-shrink: 0;
}
.ncc-brand {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.ncc-brand--muted {
  font-weight: 500;
  color: #9ca3af;
}
.ncc-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
}
.ncc-title--android {
  font-weight: 600;
}
.ncc-msg {
  margin: 0;
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.375;
}
/* iOS-style card */
.ncc-ios {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid #1f2937;
  padding: 0.75rem;
}
.ncc-ios-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.ncc-ios-icon-wrap {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ncc-ios-icon-wrap .ncc-sprite {
  width: 1rem;
  height: 1rem;
  color: #fff;
}
.ncc-ios-copy {
  flex: 1;
  min-width: 0;
}
.ncc-ios-copy .ncc-brand {
  margin-bottom: 0.125rem;
}
.ncc-ios-copy .ncc-title {
  margin-bottom: 0.25rem;
}
.ncc-ios-urgent {
  color: #f87171;
  flex-shrink: 0;
}
.ncc-ios-urgent .ncc-sprite {
  width: 1rem;
  height: 1rem;
}
.ncc-ios-actions {
  display: flex;
  gap: 0.5rem;
}
.ncc-ios-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}
.ncc-ios-btn .ncc-sprite {
  width: 0.875rem;
  height: 0.875rem;
}
.ncc-ios-btn--approve {
  background: #16a34a;
}
.ncc-ios-btn--reject {
  background: #dc2626;
}
/* Android-style card */
.ncc-android {
  background: rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid #374151;
  padding: 0.75rem;
}
.ncc-android-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}
.ncc-android-icon-wrap {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ncc-android-icon-wrap .ncc-sprite {
  width: 0.875rem;
  height: 0.875rem;
  color: #fff;
}
.ncc-android-copy {
  flex: 1;
  min-width: 0;
}
.ncc-android-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.125rem;
  gap: 0.5rem;
}
.ncc-android-urgent {
  color: #f87171;
}
.ncc-android-urgent .ncc-sprite {
  width: 0.75rem;
  height: 0.75rem;
}
.ncc-android-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
.ncc-android-link {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0.25rem;
}
.ncc-android-link--reject {
  color: #f87171;
}
.ncc-android-link--approve {
  color: #4ade80;
}
/* Telegram-style card */
.ncc-telegram {
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid #1f2937;
  padding: 0.75rem;
}
.ncc-telegram-head {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0;
}
.ncc-telegram-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: 1px solid rgba(96, 165, 250, 0.3);
}
.ncc-telegram-avatar .ncc-sprite {
  width: 1rem;
  height: 1rem;
  color: #fff;
}
.ncc-telegram-main {
  flex: 1;
  min-width: 0;
}
.ncc-telegram-bot-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.25rem;
}
.ncc-telegram-bot-name {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #60a5fa;
  line-height: 1.2;
}
.ncc-telegram-verified-badge {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.ncc-telegram-verified-icon {
  display: block;
}
.ncc-telegram-bubble {
  background: #2b2b2b;
  border-radius: 0.5rem;
  border-top-left-radius: 0;
  padding: 0.625rem;
  margin-bottom: 0.5rem;
}
.ncc-telegram-bubble-title {
  margin: 0 0 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
}
.ncc-telegram-bubble-msg {
  margin: 0;
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.625;
}
.ncc-telegram-inline-actions {
  display: flex;
  gap: 0.5rem;
}
.ncc-tg-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  transition: background-color 0.15s ease;
}
.ncc-tg-btn .ncc-sprite {
  width: 0.75rem;
  height: 0.75rem;
}
.ncc-tg-btn--approve {
  background: rgba(22, 163, 74, 0.9);
}
.ncc-tg-btn--approve:hover {
  background: #16a34a;
}
.ncc-tg-btn--reject {
  background: rgba(55, 65, 81, 0.9);
}
.ncc-tg-btn--reject:hover {
  background: #374151;
}
.ncc-telegram-time {
  font-size: 0.625rem;
  color: #6b7280;
  flex-shrink: 0;
  line-height: 1.2;
  padding-top: 0.125rem;
}
/* iOS / Android button hovers (match React) */
.ncc-ios-btn--approve:hover {
  background: #15803d;
}
.ncc-ios-btn--reject:hover {
  background: #b91c1c;
}
.ncc-android-link--reject:hover {
  background: rgba(239, 68, 68, 0.1);
}
.ncc-android-link--approve:hover {
  background: rgba(34, 197, 94, 0.1);
}
.landing-content {
  max-width: 42rem;
}
.landing-title {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125em;
  color: var(--text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 3.75rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.0165rem;
  margin-top: 2rem;
}
.landing-title-line {
  display: block;
}
.landing-subtitle { 
  display: inline-flex;
  align-items: center;
  color: #D1D5DC;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  margin: 2rem 0;
}
.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.125rem;
}
.landing-btn {
  display: inline-flex;
  text-decoration: none;
  height: 2.5rem;
  min-height: 2.5rem;
  max-height: 2.5rem;
  padding: 0 1rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background: var(--accent);
  box-sizing: border-box;
  border: 1px solid transparent;
}
.landing-btn:hover {
  cursor: pointer;
}
.landing-btn--secondary {
  background: transparent;
  border-color: rgba(255, 105, 0, 0.35);
  min-height: 3rem;
  height: auto;
  max-height: none;
}
.landing-btn--secondary:hover {
  border-color: var(--accent);
  background: rgba(255, 105, 0, 0.08);
}
.landing-btn span {
  color: #FFF;
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25;
}
.landing-btn img {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.landing .pq-badge {
  display: flex;
  width: 12rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-radius: 2097150rem;
  border: 1px solid rgba(255, 105, 0, 0.30);
  background: rgba(255, 105, 0, 0.20);
}
.landing .pq-badge img {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.landing .pq-badge p {
  display: flex;
  width: 9rem;
  height: 1rem;
  justify-content: center;
  align-items: end;
  flex-shrink: 0;
  color: #FF8904;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 0.1rem;
  letter-spacing: -0.009rem;
}
/* <--- Landing Block End ---> */

.intro {
  width: 48rem;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}
.intro-title {
  color: var(--text);
  text-align: center;
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.5rem;
  letter-spacing: 0.02306rem;
}
.intro-description {
  margin-top: 2rem;
  color: #D1D5DC;
  text-align: center;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75rem;
}
.intro-divider {
  width: 4rem;
  height: 0.25rem;
  background: linear-gradient(90deg, #FF6900 0%, #E7000B 100%);
  margin: 2rem auto;
  display: flex;
}
.why-noxy-cards {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}
.why-noxy-card {
  display: flex;
  align-self: stretch;
  flex-shrink: 0;
  flex-direction: row;
  padding: 1.5rem 1.5rem 0 1.5rem;
  align-items: flex-start;
  gap: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #1E2939;
  background: linear-gradient(135deg, rgba(16, 24, 40, 0.50) 0%, #030712 100%);
}
.why-noxy-card > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.why-noxy-card img {
  display: block;
  width: 3rem;
  height: 3rem;
  padding: 0 0.6rem;
  box-sizing: content-box;
  flex-shrink: 0;
}
.why-noxy-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 1 0 0;
}
.why-noxy-card-header h3 {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: 0.03rem;
  text-transform: uppercase;
  margin: 0;
}
.why-noxy-card-header p {
  color: #D1D5DC;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.8rem;
}
.color-problem {
  color: #FF6467;
}
.color-pain {
  color: #FDC700;
}
.color-solution {
  color: #FF8904;
}
.hbar {
  display: block;
  width: 0.125rem;
  height: 2rem;
  flex-shrink: 0;
  background: linear-gradient(180deg, #364153 0%, rgba(0, 0, 0, 0.00) 100%);
}

.landing-footer {
  display: flex;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-top: 2rem;
  height: 19.75rem;
  padding: 5rem 20rem 0 20rem;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #F54900 0%, #FF6900 50%, #E7000B 100%);
}
.landing-footer-title {
  color: #FFF;
  text-align: center;
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 700;
}
.landing-footer-description {
  color: #FFEDD4;
  text-align: center;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
}
.landing-footer-btn {
  display: inline-flex;
  text-decoration: none;
  padding: 0.625rem 1rem 0.625rem 1.0625rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background: #FFF;
  margin-top: 1rem;
}
.landing-footer-btn:hover {
  cursor: pointer;
}
.landing-footer-btn span {
  color: #F54900;
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
}

.pqe-media {
  margin: 2rem 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20rem;
}
.pqe-media > img {
  width: 100%;
  max-width: 69rem;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
  margin-top: 2rem;
}
.pqe-media-item {
  position: absolute;
  top: 57%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.pqe-media-item img {
  width: 4rem;
  height: 4rem;
}
.pqe-media-item-text {
  color: var(--text);
  text-align: center;
  font-size: clamp(0.95rem, 3.5vw, 1.4rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
  max-width: min(100%, 22rem);
  padding: 0 1rem;
  box-sizing: border-box;
}
.pqe-text {
  display: flex;
  padding: 2rem 2rem 0.06rem 2rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  align-self: stretch;
}
.pqe-text-title {
  color: var(--text);
  display: block;
  text-align: center;
  width: 100%;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
  margin-bottom: 2rem;
}
.pqe-text-description {
  color: #D1D5DC;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
}
.pqe-grid {
  flex-direction: column;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.pqe-grid-title {
  color: var(--text);
  text-align: center;
  display: block;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
}
.pqe-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  padding: 0 2rem;
}
.pqe-info-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}
.pqe-info-item-title {
  color: var(--text);
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.75rem;
}
.pqe-info-item-description {
  color: #D1D5DC;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
}
.vision-media {
  margin: 2rem 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.vision-media > img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}
.vision-media-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.vision-media-text-title {
  color: var(--text);
  text-align: center;
  font-size: clamp(1.25rem, 4.5vw, 2.25rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  max-width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}
.vision-media-text-description {
  color: var(--text);
  text-align: center;
  font-size: clamp(0.875rem, 2.8vw, 1.125rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
  max-width: min(100%, 36rem);
  padding: 0 1rem;
  box-sizing: border-box;
}
.vision-principles-title {
  color: var(--text);
  text-align: center;
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.25rem;
  text-align: center;
  display: block;
  padding-top: 2rem;
}
.vision-problem-solving {
  margin-top: 2rem;
  display: flex;
  width: 100%;
  padding: 2rem 2rem 2rem 2rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #101828;
  background: linear-gradient(135deg, #101828 0%, #000 100%);
}
.vision-problem-solving-title {
  color: var(--text);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
}
.vision-problem-solving-description {
  color: #D1D5DC;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
}
.vision-commitment {
  margin-top: 2rem;
  width: 100%;
  padding: 2rem 2rem 2rem 2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #F54900 0%, #E7000B 100%);
}
.vision-commitment-title {
  color: #FFF;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
}
.vision-commitment-description {
  color: #FFEDD4;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
}
.vision-commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}
.vision-commitment-grid-item {
  display: flex;
  padding: 1rem 1rem 1rem 1rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  flex-shrink: 0;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.10);
}
.vision-commitment-grid-item-title {
  color: var(--text);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.75rem;
}
.vision-commitment-grid-item-description {
  color: #FFEDD4;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
}

.get-started-how-it-works {
  margin-top: 2rem;
  display: flex;
  width: 100%;
  padding: 2rem 2rem 2rem 2rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #101828;
  background: linear-gradient(135deg, #101828 0%, #000 100%);
}
.get-started-how-it-works-title {
  color: var(--text);
  text-align: center;
  width: 100%;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
}
.get-started-backend-header {
  display: flex;
  height: 3.5rem;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  align-self: stretch;
  flex-direction: row;
}
.get-started-frontend-header {
  display: flex;
  height: 3.5rem;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  align-self: stretch;
}
.get-started-backend-title {
  color: #FFF;
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.25rem;
}
.get-started-frontend-title {
  color: #FFF;
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.25rem;
}
.get-started-backend-description {
  color: #99A1AF;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
}
.get-started-frontend-description {
  color: #99A1AF;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
}
.get-started-how-it-works ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  flex-shrink: 0;
  align-self: stretch;
}
.get-started-how-it-works li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-shrink: 0;
  align-self: stretch;
}
.get-started-how-it-works-step {
  display: flex;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  min-width: 2rem;
  min-height: 2rem;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
}
.get-started-how-it-works-step-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1 1 auto;
}
.get-started-how-it-works-step-content-title {
  color: var(--text);
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  margin-bottom: 0;
}
.get-started-how-it-works-step-content-description {
  color: #D1D5DC;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
}
.get-started-example {
  margin-top: 2rem;
}
.get-started-example-title {
  color: var(--text);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
}
.get-started-example-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 24px;
  min-width: 0;
}
.get-started-example-content-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  max-width: 100%;
}
.get-started-example-content-item-title {
  color: var(--text);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25rem;
  padding: 1rem 0;
  width: 100%;
}
.get-started-example-content pre {
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.get-started-example-content code {
  color: var(--text);
  font-family: Menlo;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1rem;
}

.sdk-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  align-self: stretch;
  min-height: 4rem;
  height: auto;
  flex-wrap: wrap;
}
.sdk-header div {
  min-height: 0;
  height: auto;
}
.sdk-header .feature-card-icon {
  align-self: flex-start;
}
.sdk-header h1 {
  color: var(--text);
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.25rem;
  margin: 0;
}
.sdk-header p {
  color: #99A1AF;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
}
.sdk-github-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.sdk-github-link:hover { color: var(--accent-hover); }
.sdk-github-icon { width: 1.25rem; height: 1.25rem; }
.sdk-header-subtitle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.sdk-header-subtitle h2 {
  margin: 0;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 1.5rem;
}

.external-link {
  background-color: var(--text-muted);
  color: var(--accent);
  display: inline-block;
  height: .5em;
  margin-bottom: .1em;
  margin-left: .325em;
  margin-right: .25em;
  width: .5em;
  -webkit-mask: url(icons/arrow-diagonal.svg) no-repeat center / contain;
  mask: url(icons/arrow-diagonal.svg) no-repeat center / contain;
}
.use-cases-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4rem;
  align-self: stretch;
}
.use-cases-grid-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  flex-shrink: 0;
  align-self: stretch;
}
.use-cases-grid-item-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  align-self: stretch;
}
.use-cases-grid-item-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.use-cases-grid-item-title img {
  flex-shrink: 0;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #FB2C36 0%, #E7000B 100%);
  display: flex;
  width: 3rem;
  height: 3rem;
  padding: 0 0.75rem;
  justify-content: center;
  align-items: center;
}
.use-cases-grid-item-title h2 {
  margin: 0;
  padding-bottom: 0;
  border-bottom: none;
  color: #FFF;
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.25rem;
}
.use-cases-grid-item-description {
  color: #D1D5DC;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75rem;
  margin: 0;
}
.use-cases-grid-item-content {
  width: 100%;
}
.use-cases-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.875rem;
  width: 100%;
  align-items: stretch;
}
@media (max-width: 640px) {
  .use-cases-cards {
    grid-template-columns: 1fr;
  }
}
.use-cases-card {
  min-width: 0;
  border-radius: 1rem;
  border: 1px solid #364153;
  background: var(--feature-bg);
  padding: 1.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
}
.use-cases-card-title {
  margin: 0;
  color: var(--text);
  font-size: 1.0625rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}
.use-cases-card-desc {
  margin: 0;
  color: #D1D5DC;
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.55;
}
.use-cases-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.use-cases-card-list li {
  position: relative;
  padding-left: 1.125rem;
  margin-bottom: 0.5rem;
  color: #D1D5DC;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
}
.use-cases-card-list li:last-child {
  margin-bottom: 0;
}
.use-cases-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.use-cases-card-callout {
  margin: 0.25rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(54, 65, 83, 0.8);
  color: var(--accent);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}
.fund-app {
  display: flex;
  padding: 0.5rem 1rem 0.5rem 1rem !important;
  border-radius: 0.625rem !important;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 105, 0, 0.30);
  background: rgba(255, 105, 0, 0.20);
}
.fund-app:hover {
  background: rgba(255, 105, 0, 0.3);
}
.fund-app p {
  margin: 0;
  color: var(--accent);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25rem;
  letter-spacing: -0.00938rem;
}
.fund-app-connect-widget {
  display: flex;
  padding: 3rem 3rem 0.06rem 3rem;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 42rem;
  margin: 0 auto;
  border-radius: 1rem;
  border: 1px solid #101828;
  background: linear-gradient(135deg, #101828 0%, #000 100%);
}
.fund-app-connect-widget-header {
  flex-shrink: 0;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.fund-app-connect-widget-header-icon {
  display: flex;
  width: 5rem;
  height: 5rem;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, #FF6900 0%, #F54900 100%);
}
.fund-app-connect-widget-header h2 {
  color: var(--text);
  text-align: center;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
  letter-spacing: 0.00438rem;
  border-bottom: none;
  margin: 0;
  padding-bottom: 0;
}
.connect-btn {
  display: flex;
  padding: 0.375rem 0;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: linear-gradient(90deg, #FF6900 0%, #E7000B 100%);
  text-decoration: none;
  color: #FFF;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.75rem;
  letter-spacing: -0.02744rem;
}
.connect-btn:hover:not(:disabled) { opacity: 0.95; }
.connect-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.connect-btn--loading { cursor: wait; }
.connect-btn-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 1.75rem;
}
.connect-btn-label--loading {
  gap: 0.625rem;
}
.connect-btn-spinner {
  width: 1.125rem;
  height: 1.125rem;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: connect-btn-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes connect-btn-spin {
  to { transform: rotate(360deg); }
}

/* Fund app toasts (inline with site tokens) */
.fund-app-toast-host {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  left: 1.25rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  pointer-events: none;
}
.fund-app-toast-host .fund-app-toast { pointer-events: auto; }
.fund-app-toast {
  max-width: min(24rem, 100%);
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #101828 0%, var(--bg-card) 100%);
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.45;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.fund-app-toast--visible {
  opacity: 1;
  transform: translateY(0);
}
.fund-app-toast--error {
  border-color: #7f1d1d;
  background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
}
.fund-app-toast--success {
  border-color: #14532d;
  background: linear-gradient(135deg, #0f172a 0%, #14532d33 100%);
}
.fund-app-toast--info {
  border-color: #1e3a5f;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f44 100%);
}
.fund-app-toast-text { margin: 0; }

.fund-app-state { width: 100%; }
.fund-app-state[hidden] { display: none !important; }
.fund-app-wallet-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 3rem;
  border-radius: 1rem;
  border: 1px solid #101828;
  background: linear-gradient(135deg, #101828 0%, #000 100%);
}
.fund-app-wallet-info p { margin: 0; color: var(--text); font-size: 0.9375rem; }
.fund-app-wallet-info span { font-family: ui-monospace, monospace; font-size: 0.875rem; word-break: break-all; }
.fund-app-disconnect-btn, .fund-app-selected-change-app-btn {
  align-self: center;
  padding: 0.375rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 0.9375rem;
  cursor: pointer;
  font-family: inherit;
}
.fund-app-disconnect-btn:hover { background: var(--bg-card); }
.fund-app-selected-change-app-btn:hover { background: var(--bg-card); }
.fund-app-edit-config-btn {
  align-self: center;
  padding: 0.375rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 0.9375rem;
  cursor: pointer;
  font-family: inherit;
}
.fund-app-edit-config-btn:hover { background: var(--bg-card); }
.fund-app-push-config-section {
  padding-bottom: 2rem;
}
.fund-app-push-config-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  align-self: stretch;
}
.fund-app-edit-push-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.fund-app-edit-push-block[hidden] {
  display: none !important;
}
.fund-app-edit-push-block[hidden] {
  display: none !important;
}
.fund-app-edit-push-block h5 {
  color: #D1D5DC;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
  margin: 0 0 0.25rem 0;
}
.fund-app-edit-push-block > div > p {
  color: #99A1AF;
  font-size: 0.8125rem;
  margin: 0 0 1rem 0;
}
.fund-app-save-config-btn {
  display: flex;
  padding: 0.625rem 0;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  align-self: stretch;
  border-radius: 0.5rem;
  border: none;
  background: linear-gradient(90deg, #FF6900 0%, #E7000B 100%);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}
.fund-app-save-config-btn:hover {
  background: linear-gradient(90deg, #E7000B 0%, #FF6900 100%);
  cursor: pointer;
}
.fund-app-connect-widget-footer {
  display: flex;
  padding: 2rem 0;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  align-self: stretch;
  border-top: 1px solid #1E2939;
}
.fund-app-connect-widget-footer ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex-shrink: 0;
  align-self: stretch;
  padding: 0;
}
.fund-app-connect-widget-footer li {
  display: flex;
  height: 1.5rem;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  align-self: stretch;
}
.fund-app-state-connected {
  display: flex;
  padding: 1.5rem 1.5rem 0.06rem 1.5rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 1rem;
  border: 1px solid #101828;
  background: #000;
}
.fund-app-connected-info, .fund-app-selected-info {
  padding-bottom: 2rem;
}
.fund-app-connected-info-header, .fund-app-selected-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  align-self: stretch;
}
.fund-app-connected-info-header-left, .fund-app-selected-info-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.fund-app-connected-info-icon {
  display: flex;
  width: 3rem;
  height: 3rem;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #FF6900 0%, #F54900 100%);
}
.fund-app-connected-apps-content {
  display: flex;
  padding-top: 1rem;
  padding-bottom: 2rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex-shrink: 0;
  align-self: stretch;
  border-top: 1px solid #101828;
  border-bottom: 1px solid #101828;
}
.fund-app-connected-apps-header, .fund-app-selected-packages-header, .fund-app-confirm-order-info-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid #101828;
}
.fund-app-connected-apps-header h1, .fund-app-selected-packages-header h1, .fund-app-confirm-order-info-header h1 {
  color: var(--text);
  text-align: center;
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.5rem;
  margin: 0;
}
.fund-app-connected-apps-header p, .fund-app-selected-packages-header p, .fund-app-confirm-order-info-header p {
  color: #99A1AF;
  text-align: center;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
  margin: 0;
}
.fund-app-connected-apps-content {
  display: flex;
  padding-top: 1.5rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex-shrink: 0;
  align-self: stretch;
}
.fund-app-connected-apps-content p {
  color: #99A1AF;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
}
.fund-app-connected-info-label {
  margin: 0;
  color: #99A1AF;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
}
.fund-app-connected-apps-toggle {
  display: grid;
  row-gap: 1rem;
  column-gap: 16px;
  flex-shrink: 0;
  align-self: stretch;
  grid-template-rows: repeat(1,minmax(0,1fr));
  grid-template-columns: repeat(2,minmax(0,1fr));
  padding: 1rem 0;
}
.fund-app-connected-apps-toggle-btn {
  display: flex;
  padding: 1.6rem;
  margin: 1rem 0;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  justify-self: stretch;
  justify-content: center;
  border-radius: 0.875rem;
  border: 2px solid #101828;
  background-color: #000;
  gap: 0.5rem;
}
.fund-app-connected-apps-toggle-btn:hover {
  border: 1px solid #99A1AF;
  cursor: pointer;
}
.fund-app-connected-apps-toggle-btn.selected {
  border: 2px solid #FF6900;
  background: rgba(255, 105, 0, 0.10);
}
.fund-app-connected-apps-toggle-btn h4 {
  color: var(--text);
  text-align: center;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.75rem;
  margin: 0;
}
.fund-app-connected-apps-toggle-btn p {
  color: #99A1AF;
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
  margin: 0;
}
.fund-app-connected-apps-create, .fund-app-connected-apps-select {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  flex-shrink: 0;
  width: 100%;
}
.fund-app-connected-apps-create[hidden], .fund-app-connected-apps-select[hidden] {
  display: none !important;
}
.fund-app-connected-apps-create form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}
.fund-app-connected-apps-create form > div {
  width: 100%;
  min-width: 0;
  align-self: stretch;
}
.fund-app-connected-apps-create > div {
  width: 100%;
  min-width: 0;
  align-self: stretch;
}
.fund-app-connected-apps-create-btn {
  display: flex;
  padding: 0.625rem;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  align-self: center;
  border-radius: 0.5rem;
  border: none;
  background: linear-gradient(90deg, #FF6900 0%, #E7000B 100%);
  color: var(--text);
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
}
.fund-app-connected-apps-create-btn:hover {
  background: linear-gradient(90deg, #E7000B 0%, #FF6900 100%);
  cursor: pointer;
}
.fund-app-connected-apps-create h4 {
  color: #D1D5DC;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
  margin: 0;
}
.fund-app-connected-apps-create h5 {
  color: #D1D5DC;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
  margin: 0;
  margin-bottom: 1rem;
}
.fund-app-connected-apps-create .required::after {
  content: " *";
  color: #FB2C36;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
}
.fund-app-connected-apps-create p {
  color: #99A1AF;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
  margin: 0;
}
.fund-app-create-push-section {
  margin-top: 1rem;
}
.fund-app-create-push-section h5 {
  margin-bottom: 0.25rem;
}
.fund-app-create-push-section > p {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #99A1AF;
}
.fund-app-create-push-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}
.fund-app-create-push-grid label {
  display: block;
  margin-bottom: 1rem;
}
.fund-app-create-push-grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.fund-app-create-push-block {
  display: block;
  margin: 1rem 0;
}
.fund-app-create-push-block > label {
  display: block;
  margin-bottom: 1rem;
}
@media (max-width: 480px) {
  .fund-app-create-push-grid {
    grid-template-columns: 1fr;
  }
}
.fund-app-connected-apps-push-service-tooltip {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  gap: 0.5rem;
  border-radius: 0.6rem;
  padding: 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 105, 0, 0.30);
  background: linear-gradient(135deg, rgba(126, 42, 12, 0.30) 0%, rgba(130, 24, 26, 0.30) 100%);
}
.fund-app-connected-apps-create-tooltip {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  gap: 0.5rem;
  border-radius: 0.6rem;
  border: 1px solid #1E2939;
  background: #101828;
  padding: 1rem;
  margin-bottom: 1.2rem;
}
.fund-app-connected-apps-create-tooltip img, .fund-app-connected-apps-push-service-tooltip img {
  width: 1.25rem;
  height: 1.25rem;
}
.fund-app-connected-apps-create-tooltip div, .fund-app-connected-apps-push-service-tooltip div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.fund-app-connected-apps-create-tooltip p, .fund-app-connected-apps-push-service-tooltip p {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-self: stretch;
  margin: 0;
}
.fund-app-connected-apps-select-title {
  color: #D1D5DC;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
}
.fund-app-connected-apps-select ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  flex-shrink: 0;
  align-self: stretch;
  margin: 0;
  padding: 0;
}
.fund-app-connected-apps-select li {
  list-style: none;
  width: 100%;
}
.fund-app-select-item-btn {
  display: flex;
  padding: 1.625rem;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 0.875rem;
  border: 2px solid #1E2939;
  background: #101828;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.fund-app-select-item-btn:hover {
  border: 1px solid #99A1AF;
}
.fund-app-connected-apps-select-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.fund-app-connected-apps-select-item-header h4 {
  color: var(--text);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.75rem;
  margin: 0;
}
.fund-app-connected-apps-select-item-description {
  color: #99A1AF;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
  margin: 0;
}
.fund-app-connected-apps-select-item-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
}
.fund-app-connected-apps-select-item-content-label {
  color: #6A7282;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
}
.fund-app-connected-apps-select-item-content-quota-value {
  margin-right: 1rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.fund-app-connected-apps-select-item-content-value {
  color: var(--text);
}
.fund-app-selected-info-header-left h2 {
  color: var(--text);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
  margin: 0;
  border-bottom: none;
}
.fund-app-selected-app-name {
  color: var(--text);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
  margin: 0 0 1rem;
  border-bottom: none;
  padding: 0;
}
.fund-app-selected-ids-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
}
.fund-app-selected-id-block {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.fund-app-selected-info-label {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: #99A1AF;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
}
.fund-app-selected-info-header .fund-app-selected-info-label {
  padding-bottom: 0.5rem;
}
.fund-app-selected-info-header p:not(.fund-app-selected-info-label) {
  margin: 0;
  padding-bottom: 0.5rem;
  color: #99A1AF;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
}
.fund-app-copy-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.fund-app-copy-btn {
  display: inline-flex;
  padding: 0.25rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 0.25rem;
}
.fund-app-copy-btn:hover {
  color: var(--accent);
}
.fund-app-copy-btn img {
  width: 1rem;
  height: 1rem;
}
#app-api-key {
  display: inline-block;
  max-width: min(30ch, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.fund-app-copy-btn .fund-app-copy-check {
  color: #22c55e;
}
.fund-app-selected-packages-grid {
  display: flex;
  flex-direction: row;
  padding-right: 0.001rem;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-shrink: 0;
  align-self: stretch;
  margin-top: 2rem;
}
.fund-app-selected-packages-grid-item {
  display: flex;
  padding: 3rem 2rem;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  border-radius: 1rem;
  border: 2px solid #101828;
  background: #000;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.fund-app-selected-packages-grid-item:hover {
  transform: scale(1.02);
  border-color: #FF6900;
}
.fund-app-selected-packages-grid-item h2 {
  color: var(--text);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
  margin: 0;
  padding: 0;
  border-bottom: none;
}
.fund-app-selected-packages-grid-item p {
  color: #99A1AF;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
  margin: 0;
}
.fund-app-selected-packages-grid-item-icon {
  display: flex;
  width: 4rem;
  height: 4rem;
  justify-content: center;
  align-items: center;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #FF6900 0%, #E7000B 100%);
}
.fund-app-package-name {
  color: var(--text);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
  margin: 0;
}
.fund-app-price {
  color: var(--text);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
  margin: 0;
}
.fund-app-price {
  color: var(--text);
  font-size: 2.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.5rem;
  margin: 0;
}
.fund-app-price span {
  color: #99A1AF;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75rem;
}
.fund-app-selected-packages-grid-item-effective-price {
  display: flex;
  height: 5rem;
  padding: 1rem 1rem 0 1rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 0.625rem;
  background: #101828;
}
.fund-app-selected-packages-grid-item-effective-price p {
  margin: 0;
  color: #99A1AF;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
}
.fund-app-price-per-decision-request {
  color: #FF8904;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.75rem;
}
.fund-app-selected-packages-grid-item-best-for {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.fund-app-selected-packages-grid-item-best-for span {
  color: #99A1AF;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25rem;
}
.fund-app-selected-packages-grid-item-best-for ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex-shrink: 0;
  align-self: stretch;
  margin: 0;
  padding: 0.5rem 0;
} 
.fund-app-selected-packages-grid-item-best-for li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  align-self: stretch;
}
.fund-app-selected-packages-grid-item-select-btn {
  display: flex;
  padding: 0.5rem 6.30956rem 0.5rem 6.41894rem;
  justify-content: center;
  align-items: center;
  border-radius: 0.5rem;
  border: none;
  background: linear-gradient(90deg, #FF6900 0%, #E7000B 100%);
  color: var(--text);
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
  font-family: inherit;
}
.fund-app-selected-packages-grid-item-select-btn:hover {
  cursor: pointer;
}
.fund-app-confirm-order-info-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  max-width: 42rem;
  margin: 0 auto;
  border-radius: 1rem;
  border: 1px solid #101828;
  background: linear-gradient(135deg, #101828 0%, #000 100%);
  padding: 2rem;
}
.fund-app-confirm-order-info-summary h3 {
  color: var(--text);
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.75rem;
  margin: 0;
}
.fund-app-confirm-order-info-summary ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  flex-shrink: 0;
  align-self: stretch;
  margin: 0;
  padding: 0;
}
.fund-app-confirm-order-info-summary li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  align-self: stretch;
  border-bottom: 1px solid #1E2939;
  padding: 0.5rem 0;
}
.fund-app-confirm-order-info-summary-total {
  display: flex;
  padding: 1.5rem;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 0.875rem;
  border: 1px solid #253040;
  background: #000;
  box-sizing: border-box;
}
.fund-app-confirm-order-info-summary-total p {
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.75rem;
}
.fund-app-confirm-order-info-summary-total span {
  color: #FF8904;
  text-align: right;
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.25rem;
}
.fund-app-confirm-order-btn {
  display: flex;
  padding: 0.375rem 0;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 0.5rem;
  border: none;
  background: linear-gradient(90deg, #FF6900 0%, #E7000B 100%);
  color: var(--text);
  text-align: center;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.75rem;
  font-family: inherit;
}
.fund-app-confirm-order-cancel-btn {
  display: flex;
  padding: 0.625rem 0;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 0.5rem;
  border: 1px solid #364153;
  background: #FFF;
  color: #0A0A0A;
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem;
  font-family: inherit;
}
.fund-app-confirm-order-cancel-btn:hover, .fund-app-confirm-order-btn:hover {
  cursor: pointer;
}
.fund-app-confirm-order-note {
  color: #6A7282;
  text-align: center;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1rem;
}
.fund-app-confirm-order-info-summary-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  align-self: stretch;
}
.fund-app-confirm-order-info-summary-label {
  color: #99A1AF;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
}
.fund-app-confirm-order-info-summary-value {
  color: var(--text);
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5rem;
}
.fund-app-wait-for-confirmation {
  display: flex;
  flex-direction: column;
  width: 42rem;
  border-radius: 1rem;
  border: 1px solid #101828;
  background: linear-gradient(135deg, #101828 0%, #000 100%);
  margin: 0 auto;
  gap: 2rem;
  padding: 3rem;
  align-items: center;
  justify-content: center;
}
.fund-app-wait-for-confirmation-icon {
  display: flex;
  width: 5rem;
  height: 5rem;
  justify-content: center;
  align-items: center;
  border-radius: 2097150rem;
  opacity: 0.9912;
  background: linear-gradient(135deg, #FF6900 0%, #F54900 100%);
}
.fund-app-wait-for-confirmation-icon img {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}
.fund-app-wait-for-confirmation h1 {
  color: var(--text);
  text-align: center;
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.25rem;
  margin: 0;
}
.fund-app-wait-for-confirmation p {
  color: #99A1AF;
  text-align: center;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
  margin: 0;
}
.confirm-order-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.confirm-order-loading-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2097150rem;
  background-color: #FF6900;
  animation: confirm-order-loading-bounce 1.4s ease-in-out infinite both;
}
.confirm-order-loading-dot:nth-child(1) { animation-delay: 0s; }
.confirm-order-loading-dot:nth-child(2) { animation-delay: 0.2s; }
.confirm-order-loading-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes confirm-order-loading-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}
.fund-app-order-confirmed, .fund-app-order-failed {
  width: 42rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  border: 1px solid rgba(13, 84, 43, 0.50);
  background: linear-gradient(135deg, #101828 0%, #000 100%);
  margin: 0 auto;
  padding: 2rem;
}
.fund-app-order-confirmed-header, .fund-app-order-failed-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.fund-app-order-confirmed-header h2, .fund-app-order-failed-header h2 {
  margin: 0;
  border-bottom: none;
  color: var(--text);
  text-align: center;
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.25rem;
  margin: 0;
}
.fund-app-order-confirmed-header p, .fund-app-order-failed-header p {
  color: #99A1AF;
  text-align: center;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
  margin: 0;
}
.fund-app-order-confirmed-header-icon {
  display: flex;
  width: 5rem;
  height: 5rem;
  justify-content: center;
  align-items: center;
  border-radius: 2097150rem;
  background: rgba(0, 201, 80, 0.20);
}
.fund-app-order-failed-header-icon {
  display: flex;
  width: 5rem;
  height: 5rem;
  justify-content: center;
  align-items: center;
  border-radius: 2097150rem;
  background: rgba(255, 105, 0, 0.20);
}
.fund-app-order-confirmed-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  flex-shrink: 0;
  align-self: stretch;
  margin: 0;
  border-radius: 0.875rem;
  border: 1px solid #1E2939;
  background: #000;
  padding: 1.5rem;
}
.fund-app-order-confirmed-summary li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  align-self: stretch;
  border-bottom: 1px solid #1E2939;
  padding: 0.5rem 0;
}
.fund-app-order-confirmed-summary li.fund-app-order-confirmed-summary-item-last {
  border-bottom: none;
}
.fund-app-order-confirmed-summary-label {
  color: #99A1AF;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
}
.fund-app-order-confirmed-summary-value {
  color: var(--text);
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5rem;
}
.fund-app-order-confirmed-api-key {
  display: flex;
  align-self: stretch;
  padding: 1.5rem;
  flex-direction: row;
  align-items: flex-start;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 105, 0, 0.30);
  background: rgba(255, 105, 0, 0.10);
  gap: 0.5rem;
}
.fund-app-order-confirmed-api-key > img {
  flex-shrink: 0;
}
.fund-app-order-confirmed-api-key > div {
  flex: 1 1 0%;
  min-width: 0;
}
.fund-app-order-confirmed-api-key h4 {
  padding: 0;
  margin: 0;
  color: #FF8904;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25rem;
}
.fund-app-order-confirmed-api-key-value {
  display: block;
  width: 100%;
  max-width: 100%;
  color: #D1D5DC;
  font-family: Menlo, ui-monospace, monospace;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
  word-break: break-all;
  overflow-wrap: anywhere;
}
.fund-app-order-confirmed-api-key-copy-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.3125rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  font-family: inherit;
  text-align: left;
}
.fund-app-order-confirmed-api-key-copy-btn img {
  width: 0.75rem;
  height: 0.75rem;
}
.fund-app-order-confirmed-api-key-copy-btn span {
  color: #FF8904;
  text-align: center;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1rem; 
}
.fund-app-order-confirmed-btn {
  display: flex;
  padding: 0.625rem 0;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 0.5rem;
  border: none;
  background: linear-gradient(90deg, #FF6900 0%, #E7000B 100%);
  color: var(--text);
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem; 
  font-family: inherit;
}
.fund-app-order-failed-btn {
  display: flex;
  padding: 0.625rem 0;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 0.5rem;
  border: 1px solid #364153;
  background: #FFF;
  color: #0A0A0A;
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25rem; 
  font-family: inherit;
}
.fund-app-order-confirmed-btn:hover, .fund-app-order-failed-btn:hover {
  cursor: pointer;
}
.fund-app-order-failed-header a {
  color: var(--text);
  text-decoration: none;
}

/* Fund app — single-page layout (wallet bar + sidebar + main) */
.fund-app-root {
  --fund-app-sidebar-col-max: 16rem;
  --fund-app-main-col-max: 34rem;
  --fund-app-grid-gap: 1.5rem;
  --fund-app-page-width: min(
    100%,
    calc(var(--fund-app-sidebar-col-max) + var(--fund-app-grid-gap) + var(--fund-app-main-col-max))
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  box-sizing: border-box;
}
.fund-app-page-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid #101828;
  background: linear-gradient(135deg, #101828 0%, #000 100%);
  width: var(--fund-app-page-width);
  max-width: var(--fund-app-page-width);
  box-sizing: border-box;
}
.fund-app-page-bar-wallet {
  flex: 1 1 12rem;
  min-width: 0;
}
.fund-app-wallet-address-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.fund-app-wallet-address-label {
  display: block;
  margin: 0;
  color: #99A1AF;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
}
.fund-app-wallet-address {
  display: block;
  margin: 0;
  color: #FFFFFF;
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
  line-height: 1.45;
  word-break: break-all;
}
.fund-app-wallet-address--disconnected {
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #99A1AF;
}
.fund-app-header-connect-btn {
  align-self: center;
  flex-shrink: 0;
  width: auto;
  min-width: 10rem;
  font-size: 1rem;
}
.fund-app-page-body {
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
  gap: var(--fund-app-grid-gap);
  align-items: start;
  width: var(--fund-app-page-width);
  max-width: var(--fund-app-page-width);
  box-sizing: border-box;
}
.fund-app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #101828;
  background: #000;
  position: sticky;
  top: 1rem;
  width: 100%;
  max-width: min(34rem, 100%);
  justify-self: center;
  box-sizing: border-box;
}
.fund-app-sidebar-title {
  margin: 0;
  color: #99A1AF;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fund-app-sidebar-create-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px dashed var(--border);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}
.fund-app-sidebar-create-btn:hover:not(:disabled) {
  border-color: #FF6900;
  color: #FF8904;
}
.fund-app-sidebar-create-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.fund-app-sidebar-create-btn.fund-app-sidebar-nav-selected {
  border-style: solid;
  border-color: #FF6900;
  background: rgba(255, 105, 0, 0.12);
}
.fund-app-sidebar-apps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: min(60vh, 28rem);
  overflow-y: auto;
}
.fund-app-sidebar-app-btn {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #1E2939;
  background: #0a0a0a;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.fund-app-sidebar-app-btn:hover {
  border-color: #364153;
}
.fund-app-sidebar-app-btn.fund-app-sidebar-app-selected {
  border-color: #FF6900;
  background: rgba(255, 105, 0, 0.08);
}
.fund-app-sidebar-app-name {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}
.fund-app-sidebar-app-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #99A1AF;
}
.fund-app-sidebar-app-chevron img {
  width: 0.875rem;
  height: 0.875rem;
  opacity: 0.7;
}
.fund-app-main {
  min-width: 0;
  max-width: 34rem;
  width: 100%;
  padding: 0 0 2rem;
  box-sizing: border-box;
  justify-self: center;
}
.fund-app-main-create[hidden],
.fund-app-main-app-panel[hidden] {
  display: none !important;
}
.fund-app-main-pricing-panel.fund-app-topup-section {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.fund-app-main-create:not([hidden]) ~ .fund-app-main-pricing-panel {
  display: none !important;
}
.fund-app-main-app-panel:not([hidden]) ~ .fund-app-main-pricing-panel {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #101828;
}
.fund-app-main-section-header {
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid #101828;
}
.fund-app-main-create .fund-app-connected-apps-create form {
  margin-top: 1rem;
}
#fund-app-create-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.fund-app-topup-header h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  line-height: 2rem;
  color: var(--text);
  border-bottom: none;
  padding: 0;
}
.fund-app-topup-header p {
  margin: 0;
  color: #99A1AF;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.fund-app-topup-controls {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 100%;
}
.fund-app-topup-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
}
.fund-app-decisions-value {
  font-family: ui-monospace, monospace;
  color: #FF8904;
  font-weight: 700;
}
.fund-app-decisions-slider {
  width: 100%;
  height: 0.5rem;
  border-radius: 0.25rem;
  accent-color: #FF6900;
  cursor: pointer;
}
.fund-app-topup-pricing {
  padding: 1rem 1.125rem;
  border-radius: 0.625rem;
  background: #101828;
  border: 1px solid #1E2939;
}
.fund-app-topup-tier {
  margin: 0 0 0.75rem;
  color: #99A1AF;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.fund-app-topup-line {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-size: 1rem;
}
.fund-app-topup-line strong {
  color: #FF8904;
  font-size: 1.25rem;
  font-weight: 700;
}
.fund-app-topup-effective {
  margin: 0.5rem 0 0;
  color: #99A1AF;
  font-size: 0.8125rem;
}
.fund-app-topup-effective span {
  color: #FF8904;
  font-weight: 600;
}
.fund-app-topup-btn {
  max-width: 14rem;
  color: #fff;
}
/* ID beats .fund-app-connected-apps-create-btn:hover (which still matches when :disabled) */
#fund-app-topup-pay-btn {
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}
#fund-app-topup-pay-btn:hover {
  background: linear-gradient(90deg, #4ade80 0%, #22c55e 100%);
  cursor: pointer;
}
#fund-app-topup-pay-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
#fund-app-topup-pay-btn:disabled:hover {
  cursor: not-allowed;
}
.fund-app-order-inline-status {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #1E2939;
  background: #0a0a0a;
}
.fund-app-order-inline-status[hidden] {
  display: none !important;
}
.fund-app-order-inline-loading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}
.fund-app-order-inline-loading[hidden] {
  display: none !important;
}
.fund-app-order-inline-loading-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6900 0%, #F54900 100%);
  flex-shrink: 0;
}
.fund-app-order-inline-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  border-bottom: none;
  padding: 0;
}
.fund-app-order-inline-desc {
  margin: 0;
  width: 100%;
  flex-basis: 100%;
  font-size: 0.8125rem;
  color: #99A1AF;
  line-height: 1.45;
}
.fund-app-order-inline-dots {
  flex-shrink: 0;
}
.fund-app-order-inline-result {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.fund-app-order-inline-result[hidden] {
  display: none !important;
}
.fund-app-order-inline-result-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.fund-app-order-inline-result-title {
  margin: 0;
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  border-bottom: none;
  padding: 0;
}
.fund-app-order-inline-result-text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
  color: #99A1AF;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fund-app-order-inline-result-text a {
  color: #FF8904;
  text-decoration: none;
}
.fund-app-order-inline-result-text a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  /* Hero: stack text + network graphic (row cannot fit content + 24rem bg) */
  .landing {
    flex-direction: column;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    width: 100%;
    max-width: 100%;
    left: auto;
    margin-left: 0;
    box-sizing: border-box;
  }
  .landing-bg {
    flex-shrink: 0;
    width: min(26rem, calc(100vw - 3rem));
    min-height: auto;
    max-width: 100%;
  }
  .landing-content {
    max-width: calc(100vw - 3rem);
    box-sizing: border-box;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .landing-cta-row {
    justify-content: center;
  }
  .landing-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.15;
    align-items: center;
  }
  .landing-subtitle { font-size: clamp(0.875rem, 1.2vw, 1.125rem); }
  .landing-footer { padding: 5rem 2rem 0; }
  /* Fund app – tablet */
  .fund-app-connect-widget { padding: 2rem 1.5rem; max-width: min(42rem, 100%); box-sizing: border-box; }
  .fund-app-connected-info-header,
  .fund-app-selected-info-header { flex-wrap: wrap; gap: 1rem; }
  .fund-app-selected-packages-grid { flex-direction: column; }
  .fund-app-wait-for-confirmation,
  .fund-app-order-confirmed,
  .fund-app-order-failed { width: 100%; max-width: 100%; padding: 2rem 1.5rem; box-sizing: border-box; }
  .fund-app-confirm-order-info-summary { max-width: 100%; box-sizing: border-box; }
  .fund-app-page-body {
    grid-template-columns: 1fr;
  }
  .fund-app-sidebar {
    position: static;
    max-height: none;
  }
  .fund-app-sidebar-apps {
    max-height: 14rem;
  }
  /* Collapsed top nav (menu button) from 1024px */
  .topnav-inner { flex-wrap: wrap; }
  .topnav-menu-btn { display: flex; align-items: center; justify-content: center; order: 2; margin-left: auto; }
  .topnav-links { display: none; width: 100%; order: 3; flex-direction: column; gap: 0; padding: 0.75rem 1rem; border-top: 1px solid var(--border); margin-top: 0.5rem; background: var(--bg-card); }
  .topnav-toggle:checked ~ .topnav-links { display: flex; }
  .topnav-links li { width: 100%; }
  .topnav-links a, .topnav-dropdown-trigger { display: block; padding: 0.75rem 0; width: 100%; }
  .topnav-dropdown-menu { position: static; margin: 0.25rem 0 0.5rem 1.5rem; box-shadow: none; border: none; padding-left: 0.5rem; border-left: 1px solid var(--border); }
  /* Collapsed drawer: Fund App as plain link (no pill bg/border) */
  .topnav-links a.fund-app {
    width: 100% !important;
    max-width: 100%;
    display: block !important;
    box-sizing: border-box;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.75rem 0 !important;
  }
  .topnav-links a.fund-app:hover {
    background: transparent !important;
  }
  .topnav-links a.fund-app p {
    color: var(--text-muted);
  }
  .topnav-links a.fund-app:hover p {
    color: var(--accent);
  }
}

@media (max-width: 768px) {
  body { flex-direction: column; height: auto; min-height: 100vh; overflow-y: auto; overflow-x: hidden; }
  .sidebar-inactive { display: none !important; }
  .content { overflow: visible; }
  .content-inner { padding: 1rem 1.5rem; max-width: 100%; }
  .page-footer { padding: 1rem; gap: 0.5rem; text-align: center; }
  .page-footer-row { justify-content: center; }
  /* Avoid horizontal scroll from full-bleed hero inside padded content */
  .page-index .content {
    overflow-x: hidden;
  }
  .landing { min-height: 80vh; padding: 1rem; box-sizing: border-box; }
  .landing-content {
    max-width: 100%;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .landing-title {
    font-size: 1.75rem;
    line-height: 1.15;
    margin-top: 1rem;
    align-items: center;
  }
  .landing-subtitle { font-size: 0.9375rem; line-height: 1.5; }
  .landing-bg {
    width: min(24rem, calc(100vw - 2.5rem));
    min-height: auto;
    max-width: 100%;
  }
  .ncc-card {
    --nc-x: 0px !important;
  }
  .landing .pq-badge {
    width: min(12rem, 100%);
    max-width: 100%;
    box-sizing: border-box;
  }
  .intro { width: 100%; max-width: 100%; }
  .intro-title { font-size: 1.75rem; }
  .intro-description { font-size: 1rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid-wider { grid-template-columns: 1fr; }
  .feature-card { width: 100%; max-width: 100%; }
  .sdks-grid { gap: 1rem; }
  .sdk-card { padding: 1rem; }
  .landing-footer { flex-direction: column; padding: 1.5rem; text-align: center; }
  .doc-content table { display: block; overflow-x: auto; }
  .doc-content th, .doc-content td { padding: 0.4rem 0.5rem; font-size: 0.875rem; }
  pre { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0.75rem; font-size: 0.8125rem; }
  .sdk-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .sdk-header div { height: auto; }
  .sdk-header h1 { font-size: 1.75rem; }
  .sdk-github-link {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  .sdk-header-subtitle { flex-direction: column; align-items: flex-start; }
  .get-started-example-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .get-started-how-it-works {
    padding: 1.25rem 1rem;
  }
  .get-started-how-it-works-step {
    width: 1.75rem;
    height: 1.75rem;
    min-width: 1.75rem;
    min-height: 1.75rem;
    font-size: 0.8125rem;
  }
  /* Vision / PQE: drop left:50% + translateX; span full width for overlay text */
  .vision-media-text {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    transform: translateY(-50%);
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .pqe-media-item {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    transform: translateY(-50%);
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  /* Fund app – tablet/mobile */
  .fund-app-connect-widget { padding: 1.5rem 1rem; }
  .fund-app-connected-info-header,
  .fund-app-selected-info-header { flex-direction: column; align-items: flex-start; }
  .fund-app-selected-ids-row { grid-template-columns: 1fr; }
  .fund-app-selected-packages-grid { flex-direction: column; gap: 1rem; }
  .fund-app-selected-packages-grid-item { padding: 2rem 1.5rem; }
  .fund-app-connected-apps-toggle { grid-template-columns: 1fr; }
  .fund-app-order-confirmed-api-key { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .fund-app-wait-for-confirmation,
  .fund-app-order-confirmed,
  .fund-app-order-failed { padding: 1.5rem 1rem; }
  .fund-app-wait-for-confirmation h1 { font-size: 1.5rem; }
  .fund-app-confirm-order-info-summary { padding: 1rem; }
  .fund-app-order-confirmed-header h2,
  .fund-app-order-failed-header h2 { font-size: 1.5rem; }
  #wallet-address, #app-id, #app-api-key { word-break: break-all; }
  .fund-app-confirm-order-info-summary-value { word-break: break-all; }
}

@media (max-width: 480px) {
  .topnav-inner { padding: 0.75rem 1rem; }
  .content-inner { padding: 1rem; }
  .landing { padding: 0.75rem; }
  .landing-content { padding: 0 0.5rem; }
  .landing-title {
    font-size: 1.375rem;
    line-height: 1.15;
    align-items: center;
  }
  .landing-subtitle { font-size: 0.8125rem; }
  .landing-bg {
    width: min(22rem, calc(100vw - 2rem));
    min-height: auto;
  }
  .landing .pq-badge { font-size: 0.75rem; gap: 0.35rem; }
  .landing .pq-badge img { width: 0.875rem; height: 0.875rem; }
  .landing-footer-title { font-size: 1.25rem; }
  /* Fund app – mobile */
  .fund-app-connect-widget { padding: 1rem; }
  .fund-app-connect-widget-header h2 { font-size: 1.25rem; }
  .fund-app-connected-info-header,
  .fund-app-selected-info-header { gap: 0.75rem; }
  .fund-app-connected-apps-header h1,
  .fund-app-selected-packages-header h1,
  .fund-app-confirm-order-info-header h1 { font-size: 1.5rem; }
  .fund-app-selected-packages-grid-item { padding: 1.5rem 1rem; }
  .fund-app-selected-packages-grid-item h2,
  .fund-app-package-name { font-size: 1.25rem; }
  .fund-app-price { font-size: 1.75rem; }
  .fund-app-wait-for-confirmation,
  .fund-app-order-confirmed,
  .fund-app-order-failed { padding: 1rem; }
  .fund-app-wait-for-confirmation h1 { font-size: 1.25rem; }
  .fund-app-order-confirmed-header h2,
  .fund-app-order-failed-header h2 { font-size: 1.25rem; }
}
