:root {
  --bg: #fff7fb;
  --bg-soft: #fff2f7;
  --panel: #ffffff;
  --panel-soft: #fff5f9;
  --text: #2f2230;
  --muted: #7b6775;
  --primary: #ee7ea6;
  --primary-strong: #df5d90;
  --secondary: #fff0f6;
  --border: rgba(204, 125, 160, 0.16);
  --shadow: 0 18px 48px rgba(214, 151, 178, 0.18);
  --hero-bg: url("./assets/hero-reference.jpg?v=2");
  --feature-main-image: url("./assets/feature-reference.jpg");
  --feature-float-image: url("./assets/feature-reference.jpg");
}

.feature-main-image {
  object-position: center;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.7;
}

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

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

.narrow {
  width: min(900px, calc(100% - 32px));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(10, 12, 24, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap,
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-wrap {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 24px;
}

.logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: left;
  white-space: nowrap;
}

.logo-mark {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  gap: 42px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
}

.nav-centered {
  width: 100%;
  justify-self: center;
  justify-content: center;
  align-items: center;
}

.nav-link {
  position: relative;
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transform: translateX(-50%);
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.lang-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.site-header.is-scrolled .nav-cta {
  background: linear-gradient(90deg, #5b5cf6 0%, #3b82f6 100%);
  border-color: rgba(99, 102, 241, 0.24);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.22);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 170px 0 140px;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.download-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 148px 0 74px;
  background: radial-gradient(circle at 20% 20%, rgba(122, 92, 255, 0.28) 0%, rgba(122, 92, 255, 0) 42%),
    linear-gradient(90deg, #3a2569 0%, #182b59 55%, #102345 100%);
}

.download-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%);
}

.download-hero-shell {
  position: relative;
  z-index: 1;
}

.download-hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.download-hero-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(2.9rem, 5vw, 4.4rem);
  line-height: 1.12;
  color: #ffffff;
  text-shadow: none;
}

.download-hero-copy p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.9;
}

.download-platform-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.download-platform-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
}

.platform-chip-icon {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain;
}

.download-catalog-section {
  background: #ffffff;
}

.download-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.download-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.04);
  color: #4b5563;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.download-tab-icon {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain;
}

.download-tab-icon,
.platform-chip-icon {
  filter: none;
}

.download-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.download-tab.active {
  background: linear-gradient(90deg, #6d5df6 0%, #5867f9 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(96, 91, 246, 0.26);
}

.download-platform-panel {
  display: none;
}

.download-platform-panel.active {
  display: block;
}

.download-catalog-head {
  max-width: 780px;
  margin: 0 auto 28px;
}

.download-catalog-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin-bottom: 10px;
}

.download-catalog-head p {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.68;
}

.download-platform-notice {
  display: none;
  margin: 0 auto 22px;
}

.download-platform-notice.visible,
.download-platform-footer-cta.visible {
  display: block;
}

.download-notice-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #eef4ff;
  border: 1px solid rgba(96, 91, 246, 0.1);
  color: #5b6472;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.download-notice-inner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
}

.download-notice-icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.download-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.download-card-grid.ios-single {
  grid-template-columns: minmax(0, 440px);
  justify-content: start;
}

.download-platform-footer-cta {
  display: none;
  margin-top: 22px;
}

.download-footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 34px;
  border-radius: 22px;
  background: linear-gradient(135deg, #17183b 0%, #111f55 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.download-footer-cta-inner h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1.05rem;
}

.download-footer-cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.download-footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

.download-footer-cta-btn .download-btn-icon {
  filter: brightness(0) invert(1);
}

.download-app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 430px;
  padding: 20px 18px 18px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.download-app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 91, 246, 0.18);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.download-app-card.featured {
  border-color: rgba(96, 91, 246, 0.34);
}

.download-badge {
  position: absolute;
  top: -12px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d5df6 0%, #5867f9 100%);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
}

.download-app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
}

.download-app-icon-img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.download-app-card h3 {
  font-size: 1.22rem;
  margin-bottom: 6px;
}

.download-app-subtitle {
  margin-bottom: 12px;
  color: #9ca3af;
  font-size: 0.78rem;
}

.download-app-card p {
  color: #5f6775;
  line-height: 1.68;
  font-size: 0.88rem;
}

.download-app-desc {
  min-height: 88px;
}

.download-card-meta {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
}

.download-card-meta p {
  margin: 0;
  color: #7b8493;
  font-size: 0.8rem;
}

.download-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 14px;
}

.download-app-card .download-tags-row,
.download-app-card > .download-primary-btn,
.download-app-card > .download-actions-stack {
  margin-top: auto;
}

.download-tags-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #6b7280;
  font-size: 0.72rem;
}

.download-actions-stack {
  display: grid;
  grid-template-rows: repeat(3, 44px);
  gap: 8px;
  min-height: 148px;
}

.download-app-card > .download-primary-btn {
  margin-top: auto;
}

.download-actions-stack.actions-1 .download-primary-btn {
  grid-row: 3;
}

.download-actions-stack.actions-2 .download-secondary-btn {
  grid-row: 2;
}

.download-actions-stack.actions-2 .download-primary-btn {
  grid-row: 3;
}

.download-card-grid.ios-single .download-actions-stack.actions-2 .download-primary-btn {
  grid-row: 1;
}

.download-card-grid.ios-single .download-actions-stack.actions-2 .download-secondary-btn {
  grid-row: 2;
}

.download-actions-stack.actions-3 .download-secondary-btn:first-child {
  grid-row: 1;
}

.download-actions-stack.actions-3 .download-secondary-btn:nth-of-type(2) {
  grid-row: 2;
}

.download-actions-stack.actions-3 .download-primary-btn {
  grid-row: 3;
}

.download-primary-btn,
.download-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.84rem;
}

.download-btn-icon {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.download-primary-btn {
  background: linear-gradient(90deg, #6d5df6 0%, #5867f9 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(96, 91, 246, 0.22);
}

.is-disabled {
  cursor: default;
  pointer-events: none;
  opacity: 0.92;
}

.download-secondary-btn {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #4b5563;
}

@media (max-width: 1024px) {
  .download-app-desc {
    min-height: auto;
  }

  .download-footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 22px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 22, 0.42) 0%, rgba(10, 12, 24, 0.68) 55%, rgba(10, 12, 24, 0.76) 100%);
}

.hero-shell {
  position: relative;
  z-index: 1;
}

.hero-centered {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 22px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3.4rem, 6.8vw, 6.2rem);
  line-height: 1.02;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.lead,
.section-head p,
.feature-card p,
.download-card p,
.benefit-item p,
.step-item p,
.faq-item p,
.site-footer p {
  color: var(--muted);
}

.stats-band .stat-item > span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.42);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.hero-lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  line-height: 1.9;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

.hero-actions-centered {
  justify-content: center;
}

.btn,
.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary,
.download-link {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.download-link:hover {
  background: var(--primary-strong);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.btn-hero-primary {
  background: #ffffff;
  color: #161828;
  min-width: 224px;
}

.btn-download {
  gap: 10px;
}

.btn-download-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-hero-primary:hover {
  background: #f3f3f6;
}

.btn-hero-secondary {
  min-width: 184px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tag-list,
.panel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list span,
.panel-list div,
.mini-badge {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  color: #6f5766;
  font-size: 0.95rem;
}

.hero-panel,
.feature-card,
.download-card,
.benefit-item,
.step-item,
.faq-item {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-soft) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 28px;
}

.mini-badge {
  display: inline-flex;
  margin-bottom: 16px;
}

.panel-list {
  margin-top: 18px;
}

.stats-band {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #11131b 0%, #0b0d13 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stats-band::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.16) 50%, rgba(255,255,255,0) 100%);
}

.stats-grid {
  display: grid;
}

.stats-grid-dark {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  padding: 30px 18px 26px;
  text-align: center;
}

.stat-item-dark {
  padding: 58px 18px 34px;
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.stat-item-dark:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stat-item-dark:last-child {
  border-right: 0;
}

.stats-band .stat-item strong,
.stats-grid-dark .stat-item-dark strong {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  margin-bottom: 10px;
  font-size: 96px !important;
  line-height: 0.84 !important;
  font-weight: 900 !important;
  letter-spacing: -0.08em !important;
  color: #ffffff !important;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  white-space: nowrap !important;
}

.stats-band .stat-number,
.stats-band .stat-suffix,
.stats-grid-dark .stat-item-dark .stat-number,
.stats-grid-dark .stat-item-dark .stat-suffix {
  color: #ffffff !important;
  display: inline-block !important;
  white-space: nowrap !important;
  flex: 0 0 auto;
}

.stat-suffix {
  font-size: 0.44em !important;
  font-weight: 800 !important;
  margin-left: 8px !important;
  letter-spacing: -0.02em !important;
  vertical-align: baseline !important;
  color: #ffffff !important;
}

.section {
  padding: 54px 0;
}

.muted {
  background: rgba(255, 241, 247, 0.68);
}

.section-head {
  margin-bottom: 28px;
}

.center {
  text-align: center;
}

.feature-showcase {
  padding: 86px 0;
  background: #ffffff;
}

.feature-showcase-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 52px;
  align-items: center;
}

.feature-visual {
  position: relative;
  min-height: 620px;
}

.feature-main-media {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  margin-top: 156px;
  transition: transform 0.34s ease, filter 0.34s ease;
}

.feature-main-media:hover {
  transform: translateY(-8px);
  filter: saturate(1.04);
}

.feature-main-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.feature-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.16;
  margin-bottom: 26px;
  transition: color 0.24s ease;
}

.feature-showcase:hover .feature-copy h2 {
  color: #4f46e5;
}

.feature-description {
  margin-bottom: 28px;
  color: #5a5f69;
  font-size: 1.08rem;
  line-height: 1.95;
}

.feature-checks {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-checks li {
  position: relative;
  padding-left: 34px;
  color: #22252d;
  font-size: 1.05rem;
}

.feature-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #34c38f;
  font-weight: 900;
}

.capabilities-grid,
.protocol-grid,
.steps-grid {
  display: grid;
  gap: 28px;
}

.capabilities-head {
  margin-bottom: 42px;
}

.capabilities-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.2;
}

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

.capability-card,
.benefit-item,
.step-item,
.faq-item {
  padding: 42px 40px 38px;
}

.capability-card {
  min-height: 360px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(25, 28, 36, 0.06);
  box-shadow: 0 18px 50px rgba(17, 18, 25, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
  will-change: transform;
}

.capability-card:hover {
  transform: translateY(-8px);
  border-color: rgba(108, 99, 255, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  box-shadow: 0 22px 56px rgba(17, 18, 25, 0.1);
}

.capability-card:hover h3 {
  color: #5b52f5;
}

.capability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f4f1ff 0%, #efebff 100%);
  color: #6c63ff;
  font-size: 1.6rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(108, 99, 255, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.capability-card:hover .capability-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 24px rgba(108, 99, 255, 0.16), inset 0 0 0 1px rgba(108, 99, 255, 0.1);
  background: linear-gradient(180deg, #f0ecff 0%, #e8e3ff 100%);
}

.capability-card h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 18px;
}

.capability-card p {
  color: #6c7280;
  font-size: 1rem;
  line-height: 1.9;
  transition: color 0.24s ease;
}

.capability-card:hover p {
  color: #5f6675;
}

.protocol-section {
  background: #ffffff;
}

.protocol-head {
  margin-bottom: 38px;
}

.protocol-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 14px;
}

.protocol-head p {
  max-width: 760px;
  color: #6c7280;
  font-size: 1.05rem;
  line-height: 1.9;
}

.protocol-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 30px;
}

.protocol-card {
  min-height: 188px;
  padding: 36px 38px 32px;
  background: #ffffff;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease;
  will-change: transform;
}

.protocol-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border-color: rgba(59, 130, 246, 0.16);
  box-shadow: 0 18px 42px rgba(31, 41, 55, 0.08);
}

.protocol-card:hover h3 {
  color: #1d4ed8;
}

.protocol-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.protocol-card p {
  color: #727886;
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

.protocol-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.protocol-card:hover .protocol-badge {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  filter: saturate(1.05);
}

.protocol-badge.supported {
  background: #ecfdf3;
  color: #15803d;
}

.protocol-badge.beta {
  background: #fff4e8;
  color: #c56a10;
}

.protocol-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.protocol-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: #f8fbff;
  color: #3157a5;
  font-size: 0.96rem;
  font-weight: 500;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  cursor: default;
}

.protocol-tags span:hover {
  transform: translateY(-3px);
  background: #eef5ff;
  border-color: rgba(59, 130, 246, 0.34);
  color: #1d4ed8;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.1);
}

.download-card,
.benefit-item,
.faq-item {
  padding: 24px;
}

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

.faq-landing-section,
.tutorial-overview-section,
.client-pick-section {
  background: #ffffff;
}

.faq-landing-head {
  max-width: 860px;
}

.faq-landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.faq-landing-card {
  min-height: 280px;
}

.faq-topic-tags {
  justify-content: center;
}

.faq-category-links-section {
  background: #ffffff;
  padding-top: 8px;
}

.faq-category-links-head {
  max-width: 760px;
  margin: 0 auto 26px;
}

.faq-category-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.faq-category-link-card {
  display: block;
  padding: 24px 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.faq-category-link-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.14);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.faq-category-link-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #111827;
}

.faq-category-link-card span {
  display: block;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.75;
}

.faq-left-head {
  max-width: 760px;
  margin-bottom: 26px;
}

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

.faq-mode-section,
.faq-links-section {
  background: #ffffff;
}

.faq-links-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 36px;
  border-radius: 26px;
  background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
}

.faq-links-panel h2 {
  margin: 12px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.faq-links-panel p:not(.faq-badge) {
  margin: 0;
  color: #6b7280;
  font-size: 0.98rem;
  line-height: 1.8;
}

.faq-links-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tutorial-hero-copy {
  max-width: 920px;
}

.tutorial-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  font-weight: 700;
}

.tutorial-hero-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tutorial-hero-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 600;
}

.tutorial-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.tutorial-hero-stat {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tutorial-hero-stat strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.tutorial-hero-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.tutorial-overview-head {
  max-width: 760px;
  margin: 0 auto 34px;
}

.tutorial-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tutorial-capability-card {
  min-height: 290px;
}

.tutorial-method-section .protocol-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tutorial-method-section .protocol-badge,
.faq-category-section .protocol-badge,
.api-config-section .protocol-badge {
  background: #eef5ff;
  color: #2563eb;
}

.tutorial-troubleshoot-section .audience-grid,
.api-endpoint-grid {
  grid-template-columns: 1.05fr 1.05fr 1.2fr;
}

.api-hero {
  background: radial-gradient(circle at 20% 20%, rgba(76, 117, 255, 0.24) 0%, rgba(76, 117, 255, 0) 42%),
    linear-gradient(90deg, #141b35 0%, #11254a 55%, #0f3052 100%);
}

.api-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.api-code-section {
  background: #ffffff;
}

.api-doc-head {
  max-width: 920px;
  margin: 0 auto 26px;
}

.api-doc-head h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
}

.api-doc-head p {
  margin: 0;
  color: #6b7280;
  line-height: 1.85;
  font-size: 1rem;
}

.api-code-block {
  margin-bottom: 22px;
  border-radius: 28px;
  background: #1f2033;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.api-code-block-head {
  padding: 22px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  font-weight: 600;
}

.api-code-block pre {
  margin: 0;
  padding: 28px 32px 34px;
  overflow-x: auto;
}

.api-code-block code {
  display: block;
  color: rgba(241, 245, 249, 0.92);
  font-size: 1.02rem;
  line-height: 1.95;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  white-space: pre;
}

.api-doc-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.api-doc-note-card,
.api-inline-explain {
  border-radius: 22px;
  background: #f8fbff;
  border: 1px solid rgba(37, 99, 235, 0.08);
  padding: 24px 26px;
}

.api-doc-note-card h3,
.api-inline-explain h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  color: #111827;
}

.api-doc-note-card p,
.api-inline-explain p {
  margin: 0;
  color: #667085;
  line-height: 1.9;
  font-size: 0.96rem;
}

.api-inline-explain {
  margin-top: 18px;
}

.api-inline-explain code,
.api-doc-note-card code {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 0.92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.terms-hero {
  background: radial-gradient(circle at 18% 22%, rgba(79, 70, 229, 0.22) 0%, rgba(79, 70, 229, 0) 42%),
    linear-gradient(90deg, #141b35 0%, #11254a 55%, #12315f 100%);
}

.privacy-hero {
  background: radial-gradient(circle at 18% 22%, rgba(14, 165, 233, 0.22) 0%, rgba(14, 165, 233, 0) 42%),
    linear-gradient(90deg, #141b35 0%, #112747 55%, #103a5c 100%);
}

.terms-doc-section {
  background: #ffffff;
}

.terms-doc-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.terms-doc-sidebar {
  position: sticky;
  top: 98px;
}

.terms-doc-sidebar-card,
.terms-doc-card {
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.05);
}

.terms-doc-sidebar-card {
  padding: 24px 22px;
}

.terms-doc-sidebar-card a {
  display: block;
  padding: 10px 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  transition: color 0.22s ease, transform 0.22s ease;
}

.terms-doc-sidebar-card a:hover {
  color: #2563eb;
  transform: translateX(3px);
}

.terms-doc-main {
  display: block;
}

.terms-doc-card {
  padding: 38px 40px;
}

.terms-doc-article section + section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.terms-doc-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: #111827;
}

.terms-doc-card p,
.terms-doc-card li {
  color: #667085;
  font-size: 0.98rem;
  line-height: 1.92;
}

.terms-doc-card p + p {
  margin-top: 14px;
}

.terms-doc-card ul {
  margin: 14px 0 0 18px;
}

.client-pick-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.client-pick-head h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 1.14;
  margin: 0 0 16px;
}

.client-pick-head p {
  color: #6b7280;
  font-size: 1.02rem;
  line-height: 1.9;
}

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

.client-pick-card {
  padding: 28px 28px 24px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.client-pick-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 91, 246, 0.14);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.client-pick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
}

.client-pick-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.client-pick-icon-blue { background: #eef4ff; }
.client-pick-icon-green { background: #edf8ef; }
.client-pick-icon-purple { background: #f7edff; }
.client-pick-icon-indigo { background: #eef1ff; }
.client-pick-icon-dark { background: #f3f4f6; }
.client-pick-icon-orange { background: #fff4e8; }

.client-pick-card h3 {
  font-size: 1.16rem;
  margin-bottom: 14px;
}

.client-pick-card p {
  color: #6b7280;
  font-size: 0.96rem;
  line-height: 1.86;
  margin-bottom: 18px;
}

.client-pick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.client-pick-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #6b7280;
  font-size: 0.76rem;
  font-weight: 600;
}

.quickstart-section {
  background: linear-gradient(180deg, #fcfcff 0%, #ffffff 100%);
}

.quickstart-head {
  max-width: 760px;
  margin: 0 auto 38px;
}

.quickstart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #eef5ff;
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 700;
}

.quickstart-head h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.16;
  margin-bottom: 14px;
}

.quickstart-head p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.9;
}

.quickstart-line {
  height: 1px;
  margin: 72px 0 -34px;
  background: linear-gradient(90deg, rgba(96, 91, 246, 0.06) 0%, rgba(96, 91, 246, 0.2) 50%, rgba(96, 91, 246, 0.06) 100%);
}

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

.quickstart-item {
  position: relative;
  padding: 64px 28px 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.quickstart-item:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 91, 246, 0.14);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.quickstart-number {
  position: absolute;
  top: -30px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(180deg, #635bff 0%, #524bf5 100%);
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(96, 91, 246, 0.24);
}

.quickstart-item h3 {
  margin-bottom: 14px;
  font-size: 1.18rem;
  line-height: 1.45;
}

.quickstart-item p {
  margin: 0;
  color: #6b7280;
  font-size: 0.96rem;
  line-height: 1.9;
}

.quickstart-footer {
  margin-top: 26px;
  text-align: left;
}

.quickstart-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-weight: 600;
  transition: color 0.22s ease, letter-spacing 0.22s ease;
}

.quickstart-footer a:hover {
  color: #1d4ed8;
  letter-spacing: 0.01em;
}

.start-steps-section {
  background: linear-gradient(180deg, #fcfcff 0%, #ffffff 100%);
}

.start-steps-head {
  max-width: 760px;
  margin: 0 auto 38px;
}

.start-steps-head h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin-bottom: 14px;
}

.start-steps-head p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.9;
}

.start-steps-line {
  height: 1px;
  margin: 72px 0 -34px;
  background: linear-gradient(90deg, rgba(96, 91, 246, 0.06) 0%, rgba(96, 91, 246, 0.2) 50%, rgba(96, 91, 246, 0.06) 100%);
}

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

.tutorial-steps-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.start-step-card {
  position: relative;
  padding: 64px 30px 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.start-step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 91, 246, 0.14);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.start-step-number {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: linear-gradient(180deg, #635bff 0%, #524bf5 100%);
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(96, 91, 246, 0.24);
}

.start-step-card h3 {
  margin-bottom: 16px;
  font-size: 1.24rem;
}

.start-step-card p {
  margin: 0;
  color: #6b7280;
  font-size: 0.98rem;
  line-height: 1.9;
}

.audience-section {
  background: #ffffff;
}

.audience-head {
  margin-bottom: 40px;
}

.audience-head h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  margin-bottom: 16px;
}

.audience-head p {
  max-width: 760px;
  color: #6b7280;
  font-size: 1.06rem;
  line-height: 1.85;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
}

.audience-side {
  display: grid;
  gap: 24px;
}

.audience-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 44px 48px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 56px rgba(17, 18, 25, 0.1);
}

.audience-card-large {
  min-height: 720px;
}

.audience-card-soft {
  background: linear-gradient(180deg, #f5f7ff 0%, #f7f8fc 100%);
}

.audience-card-light {
  min-height: 320px;
  background: linear-gradient(180deg, #fafafe 0%, #f6f7fb 100%);
}

.audience-card-dark {
  min-height: 376px;
  background: linear-gradient(180deg, #1f2128 0%, #17191f 100%);
  color: #ffffff;
}

.audience-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  transition: transform 0.24s ease;
}

.audience-card:hover .audience-icon {
  transform: translateY(-2px) scale(1.06);
}

.audience-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.audience-badge-blue {
  background: #eef5ff;
  color: #2563eb;
}

.audience-badge-purple {
  background: #f5ebff;
  color: #9333ea;
}

.audience-badge-dark {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
}

.audience-card h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.22;
  margin-bottom: 20px;
}

.audience-card p {
  color: #697180;
  font-size: 1.02rem;
  line-height: 1.9;
}

.audience-card-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.audience-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.audience-list li {
  position: relative;
  padding-left: 28px;
  color: #495364;
  line-height: 1.8;
}

.audience-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #34c38f;
  font-weight: 900;
}

.faq-section,
.compare-section {
  background: #ffffff;
}

.faq-head {
  margin-bottom: 34px;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef5ff;
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 700;
}

.faq-head h2 {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  margin: 12px 0;
}

.faq-head p {
  color: #6b7280;
  font-size: 0.98rem;
  line-height: 1.75;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.faq-card {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #f8fafc;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.faq-card:hover {
  transform: translateY(-4px);
  background: #fbfdff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.faq-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary span {
  flex: 0 0 auto;
  font-size: 1.4rem;
  color: #4b5563;
  transition: transform 0.22s ease, color 0.22s ease;
}

.faq-card[open] summary span {
  transform: rotate(45deg);
  color: #2563eb;
}

.faq-card p {
  margin: 0;
  padding: 0 26px 24px;
  color: #6b7280;
  line-height: 1.85;
  font-size: 0.96rem;
}

.compare-head {
  margin-bottom: 26px;
}

.compare-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f5ebff;
  color: #9333ea;
  font-size: 0.8rem;
  font-weight: 700;
}

.compare-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 12px 0 12px;
}

.compare-head p {
  color: #6b7280;
  font-size: 0.98rem;
  line-height: 1.75;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.compare-table th,
.compare-table td {
  padding: 20px 22px;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.94rem;
}

.compare-table th {
  background: #ffffff;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 800;
}

.compare-table .is-clash {
  background: #f7f8fc;
}

.compare-table th.is-clash {
  background: #1f2128;
  color: #ffffff;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table td {
  color: #4b5563;
  line-height: 1.8;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.compare-table tbody tr {
  transition: background-color 0.18s ease;
}

.compare-table tbody tr:hover td {
  background: #fafcff;
}

.compare-table tbody tr:hover td.is-clash {
  background: #f1f4fb;
}

.compare-table td.strong {
  color: #111827;
  font-weight: 700;
}

.ok {
  color: #16a34a;
  font-weight: 800;
}

.no {
  color: #dc2626;
  font-weight: 800;
}

.warn {
  color: #d97706;
  font-weight: 800;
}

.cta-section {
  background: #ffffff;
  padding-top: 12px;
}

.cta-panel {
  padding: 44px 38px;
  border-radius: 24px;
  background: linear-gradient(180deg, #151821 0%, #0f1219 100%);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 20px 48px rgba(15, 18, 25, 0.14);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
}

.cta-panel h2 {
  margin: 14px 0 14px;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.18;
  color: #ffffff;
}

.cta-panel p:not(.cta-badge) {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.cta-panel .btn-hero-primary {
  min-width: 220px;
}

.site-footer {
  padding: 34px 0 26px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  padding-bottom: 28px;
}

.footer-brand {
  max-width: 420px;
  text-align: left;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #111827;
  text-align: left;
}

.footer-logo-mark {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  color: #6b7280;
  line-height: 1.9;
}

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

.footer-title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.footer-column a {
  display: block;
  margin-bottom: 12px;
  color: #6b7280;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column a:hover,
.footer-bottom-links a:hover {
  color: #2563eb;
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-bottom p,
.footer-bottom-links a {
  margin: 0;
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 980px) {
  .feature-showcase-grid,
  .capabilities-grid,
  .protocol-grid,
  .tutorial-overview-grid,
  .faq-landing-grid,
  .faq-category-links-grid,
  .client-pick-grid,
  .start-steps-grid,
  .quickstart-grid,
  .tutorial-hero-stats,
  .audience-grid,
  .faq-grid,
  .download-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-panel {
    padding: 40px 30px;
  }

  .footer-main,
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .feature-card-large {
    grid-column: span 2;
  }

  .nav-wrap {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
    padding: 14px 0;
  }

  .nav-centered,
  .nav-actions {
    justify-self: start;
  }

  .nav {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 860px;
    padding-top: 170px;
    padding-bottom: 110px;
  }
}

@media (max-width: 720px) {
  .feature-showcase-grid,
  .capabilities-grid,
  .protocol-grid,
  .tutorial-overview-grid,
  .faq-landing-grid,
  .faq-category-links-grid,
  .client-pick-grid,
  .start-steps-grid,
  .quickstart-grid,
  .tutorial-hero-stats,
  .audience-grid,
  .audience-side,
  .faq-grid,
  .download-card-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 34px 20px;
    border-radius: 20px;
  }

  .client-pick-head,
  .start-steps-head {
    margin-bottom: 28px;
  }

  .tutorial-hero-nav {
    justify-content: flex-start;
  }

  .faq-links-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }

  .api-code-block-head,
  .api-code-block pre {
    padding-left: 22px;
    padding-right: 22px;
  }

  .api-doc-note-grid {
    grid-template-columns: 1fr;
  }

  .terms-doc-layout {
    grid-template-columns: 1fr;
  }

  .terms-doc-sidebar {
    position: static;
  }

  .api-code-block code {
    font-size: 0.92rem;
    line-height: 1.82;
  }

  .start-steps-line,
  .quickstart-line {
    display: none;
  }

  .stats-grid-dark {
    grid-template-columns: 1fr;
  }

  .stat-item-dark {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat-item-dark:last-child {
    border-bottom: 0;
  }

  .feature-card-large {
    grid-column: span 1;
  }

  .footer-wrap,
  .nav,
  .nav-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 760px;
    padding-top: 160px;
    padding-bottom: 90px;
  }

  h1 {
    font-size: clamp(2.5rem, 10vw, 3.6rem);
  }

  .hero-kicker {
    font-size: 0.82rem;
  }
}
