:root {
  --bg-1: #17181b;
  --bg-2: #1e1f23;
  --bg-3: #292a30;
  --panel: rgba(40, 41, 46, 0.72);
  --panel-strong: rgba(47, 48, 54, 0.92);
  --border: rgba(255, 255, 255, 0.13);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #f6f7fb;
  --muted: #aeb2b7;
  --muted-2: #7e8490;
  --primary: #6366f1;
  --primary-2: #a1a3f7;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 12px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg-2);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg-2);
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  height: 78px;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-solid,
body.nav-open .site-header {
  border-bottom-color: var(--border-soft);
  background: rgba(23, 24, 27, 0.78);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.brand span {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  transition: color 160ms ease, background 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link.is-active::after {
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-2);
  content: "";
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: var(--bg-2);
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.mobile-toggle span {
  margin: 4px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 16px 42px rgba(99, 102, 241, 0.24);
}

.btn-primary:hover {
  background: #7274f3;
}

.btn-muted {
  color: var(--text);
  border-color: var(--border);
  background: var(--bg-2);
}

.btn-muted:hover {
  background: var(--bg-3);
}

.btn-block {
  width: 100%;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 880px;
  padding: 118px 0 0;
  text-align: center;
  background: var(--bg-1);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(161, 163, 247, 0.3);
  border-radius: 999px;
  color: var(--primary-2);
  background: rgba(99, 102, 241, 0.09);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.hero h1,
.page-hero h1 {
  margin: 24px auto 0;
  max-width: 900px;
  color: var(--text);
  font-size: clamp(42px, 6.5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p,
.page-hero p,
.section-head p {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(30, 31, 35, 0.72);
  font-size: 13px;
}

.dashboard-preview {
  position: relative;
  width: min(1200px, 86vw);
  margin: 78px auto -180px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.dashboard-preview::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(161, 163, 247, 0.3), transparent 38%, rgba(99, 102, 241, 0.18));
  content: "";
  filter: blur(18px);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border-soft);
}

.dashboard-image {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
}

.dashboard-image img {
  width: 100%;
  height: auto;
}

.dashboard-image::after {
  position: absolute;
  inset: 0;
  border-radius: 0 0 12px 12px;
  background: rgba(0, 0, 0, 0.1);
  content: "";
  pointer-events: none;
}

.home-hero {
  min-height: auto;
  padding: 122px 0 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 16%, rgba(99, 102, 241, 0.16), transparent 34rem),
    var(--bg-1);
}

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

.home-hero-copy {
  max-width: 900px;
  margin: 0 auto;
}

.home-hero-copy h1,
.home-hero-copy p {
  text-align: center;
}

.home-hero-copy p {
  max-width: 740px;
}

.home-hero-copy .hero-actions,
.home-hero-copy .hero-proof {
  justify-content: center;
}

.home-dashboard-preview {
  width: min(1120px, 92vw);
  margin: 78px auto -178px;
}

.home-dashboard-preview .window-bar strong {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-snippet-card {
  margin: 0;
  border-width: 1px 0 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: none;
  background: rgba(16, 17, 20, 0.92);
}

.home-snippet-card .code-block {
  min-height: 0;
  max-height: 188px;
}

/* snippet tabs */
.snippet-tabs {
  display: flex;
  gap: 4px;
}

.snippet-tab {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.snippet-tab.active,
.snippet-tab:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.home-feature-showcase {
  margin-bottom: 46px;
}

.home-feature-showcase > div:first-child > p {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
}

.embed-code-card,
.home-demo-card,
.home-cta-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.embed-code-card {
  overflow: hidden;
}

.embed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(16, 17, 20, 0.72);
}

.embed-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: var(--bg-3);
  font-size: 12px;
  font-weight: 850;
}

.embed-copy-button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12px;
}

.embed-code-card .code-block {
  border: 0;
  border-radius: 0;
  min-height: 196px;
}

.embed-code-card > p {
  margin: 0;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.home-demo-layout {
  align-items: center;
}

.home-demo-card {
  overflow: hidden;
}

.demo-full-width {
  width: 100%;
}

.demo-full-width .demo-browser {
  height: 480px;
}

.home-demo-card .window-bar strong {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-browser {
  height: 320px;
  border-bottom: 1px solid var(--border-soft);
  background: #101114;
}

.demo-browser iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-token-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border-soft);
}

.demo-token-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.demo-token-row code {
  overflow: hidden;
  padding: 9px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--text);
  background: rgba(23, 24, 27, 0.72);
  text-overflow: ellipsis;
}

.demo-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 16px;
}

.demo-feature {
  display: flex;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(23, 24, 27, 0.38);
}

.demo-feature .card-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0;
  font-size: 10px;
}

.demo-feature strong {
  display: block;
  color: var(--text);
  font-size: 12px;
  line-height: 1.25;
}

.demo-feature p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.home-cta-panel {
  padding: 58px 32px;
  text-align: center;
}

.home-cta-panel h2 {
  margin: 20px auto 0;
  max-width: 780px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.home-cta-panel p {
  max-width: 620px;
  margin: 18px auto 28px;
  color: var(--muted);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--muted-2);
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  padding: 18px;
}

.document-card,
.activity-card,
.mini-card,
.feature-card,
.step-card,
.plan-card,
.contact-card,
.article-card,
.sidebar-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.document-card {
  padding: 22px;
  min-height: 330px;
}

.doc-page {
  height: 286px;
  padding: 28px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: linear-gradient(180deg, #f7f8fb, #dfe5ee);
}

.doc-line {
  height: 11px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #9aa5b5;
}

.doc-line.short {
  width: 54%;
}

.doc-line.medium {
  width: 76%;
}

.watermark {
  margin: 36px auto 0;
  width: 68%;
  padding: 12px 14px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 8px;
  color: rgba(99, 102, 241, 0.5);
  text-align: center;
  font-weight: 900;
}

.activity-card {
  padding: 16px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mini-card {
  padding: 14px;
}

.mini-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.mini-card span {
  color: var(--muted);
  font-size: 12px;
}

.activity-list {
  display: grid;
  gap: 10px;
}

.activity-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(23, 24, 27, 0.42);
  font-size: 13px;
}

.activity-row strong {
  color: var(--text);
  white-space: nowrap;
}

.automation-flow {
  display: flex;
  flex-direction: column;
  padding: 6px 4px;
}

.automation-step {
  display: flex;
  align-items: center;
  gap: 14px;
}

.automation-step-badge {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.14);
  color: var(--primary-2);
  font-size: 14px;
  font-weight: 800;
}

.automation-step-body {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: rgba(23, 24, 27, 0.42);
  color: var(--text);
  font-size: 14px;
}

.automation-connector {
  width: 1px;
  height: 22px;
  margin-left: 17px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.5), rgba(99, 102, 241, 0.05));
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.tag-blue {
  border: 1px solid rgba(56, 152, 255, 0.35);
  background: rgba(56, 152, 255, 0.14);
  color: #7fbcff;
}

.tag-purple {
  border: 1px solid rgba(161, 163, 247, 0.35);
  background: rgba(161, 163, 247, 0.14);
  color: #b7b9ff;
}

.tag-green {
  border: 1px solid rgba(45, 212, 150, 0.35);
  background: rgba(45, 212, 150, 0.14);
  color: #5fe3b3;
}

.section {
  padding: 96px 0;
}

.hero + .section {
  padding-top: 260px;
}

.section.alt {
  background: var(--bg-2);
}

.section.tight {
  padding: 70px 0;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2,
.split h2,
.legal-document h2 {
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.feature-card,
.step-card,
.plan-card,
.contact-card,
.article-card,
.sidebar-card {
  padding: 32px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.feature-card:hover,
.step-card:hover,
.article-card:hover {
  border-color: rgba(99, 102, 241, 0.32);
  background: rgba(47, 48, 54, 0.82);
  transform: translateY(-2px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(161, 163, 247, 0.26);
  border-radius: 50%;
  color: var(--primary-2);
  background: rgba(99, 102, 241, 0.1);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.feature-card h3,
.step-card h3,
.plan-card h3,
.contact-card h3,
.article-card h3,
.sidebar-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.25;
}

.feature-card p,
.step-card p,
.plan-card p,
.contact-card p,
.article-card p,
.sidebar-card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 58px;
}

.split.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.visual-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.visual-frame img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.visual-frame-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 360px;
  background: radial-gradient(circle at 50% 40%, rgba(99, 102, 241, 0.16), transparent 70%), var(--panel-strong);
}

.visual-frame-icon svg {
  width: 120px;
  height: 120px;
  color: var(--primary-2);
}

.feature-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-collage > div:nth-child(2) {
  padding-top: 54px;
}

.feature-collage img {
  width: 100%;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  object-fit: cover;
}

.feature-collage-single {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-snippet-card {
  width: 100%;
  border-radius: 12px;
}

.demo-snippet-card {
  width: 100%;
  border-radius: 12px;
  margin-top: 24px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
}

.btn-icon:hover {
  color: var(--text);
  border-color: var(--border);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.check-list li::before {
  display: inline-flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 999px;
  color: #07100d;
  background: var(--success);
  content: "";
  font-size: 12px;
  font-weight: 900;
}

.page-hero {
  padding: 142px 0 76px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.18), transparent 32rem),
    var(--bg-1);
}

.step-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(161, 163, 247, 0.32);
  border-radius: 8px;
  color: var(--primary-2);
  background: rgba(99, 102, 241, 0.11);
  font-weight: 900;
}

.code-block {
  overflow-x: auto;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: #e5e7eb;
  background: #101114;
  font-size: 14px;
  line-height: 1.7;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: visible;
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #ffffff;
  background: #111214;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.plan-card h3 {
  font-size: 24px;
}

.plan-card.featured {
  border-color: rgba(161, 163, 247, 0.42);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.14), rgba(47, 48, 54, 0.76));
}

.plan-price {
  margin: 18px 0 8px;
  color: var(--text);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.plan-features {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 24px;
  color: var(--muted);
}

.plan-features li::before {
  display: none;
}

.plan-features li.is-disabled {
  color: var(--muted-2);
}

.plan-feature-mark {
  display: inline-flex;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.plan-feature-mark.is-yes {
  color: var(--success);
  background: rgba(52, 211, 153, 0.1);
}

.plan-feature-mark.is-no {
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.05);
}

.plan-card .btn {
  margin-top: auto;
}

.plan-price-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.plan-price-notes span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 800;
}

.comparison {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--panel);
}

.comparison table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.comparison th,
.comparison td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
}

.comparison th {
  color: var(--text);
  background: rgba(23, 24, 27, 0.36);
}

.comparison td {
  color: var(--muted);
}

.comparison th {
  font-weight: 800;
}

.comparison td:first-child {
  color: var(--text);
  font-weight: 600;
}

.comparison-mark {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.comparison-mark.is-yes {
  color: var(--success);
  background: rgba(52, 211, 153, 0.1);
}

.comparison-mark.is-no {
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.04);
}

.comparison-head h2 + p::before {
  display: block;
  width: 36px;
  height: 2px;
  margin: 14px auto 16px;
  border-radius: 999px;
  background: var(--primary-2);
  content: "";
}

.center {
  text-align: center !important;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: rgba(23, 24, 27, 0.68);
  outline: none;
  padding: 12px 13px;
  transition: border-color 160ms ease, background 160ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: rgba(23, 24, 27, 0.9);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: var(--danger);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.captcha-row {
  display: flex;
  gap: 10px;
}

.captcha-row input {
  flex: 1;
}

.icon-button {
  width: 46px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: var(--bg-2);
  cursor: pointer;
}

.error-message,
.form-error-global {
  color: var(--danger);
  font-size: 13px;
}

.form-error-global {
  display: none;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(251, 113, 133, 0.25);
  border-radius: 8px;
  background: rgba(251, 113, 133, 0.08);
}

.form-success {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 8px;
  color: #b7f7dc;
  background: rgba(52, 211, 153, 0.08);
}

.form-success--hidden {
  display: none;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-line {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(23, 24, 27, 0.38);
}

.contact-line strong {
  display: block;
  color: var(--text);
}

.contact-line span {
  color: var(--muted);
  font-size: 14px;
}

.contact-page-hero {
  padding-bottom: 58px;
}

.contact-main-section {
  padding-top: 68px;
}

.contact-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 70px;
}

.contact-intro {
  padding-top: 12px;
}

.contact-intro h2 {
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.contact-intro > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.contact-methods {
  display: grid;
  gap: 22px;
  margin-top: 46px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-method-icon {
  display: inline-flex;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--primary-2);
  background: var(--bg-3);
}

.contact-method-icon svg,
.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-method h3 {
  margin: 0 0 2px;
  color: var(--text);
  font-size: 16px;
}

.contact-method p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.contact-form-card {
  padding: 36px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  margin-top: 18px;
  font-size: 26px;
}

.contact-form-copy {
  margin-bottom: 24px !important;
}

.contact-submit {
  margin-top: 18px;
}

.contact-routing-section {
  padding-top: 18px;
}

.contact-route-card {
  min-height: 100%;
  padding: 32px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--panel);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-route-card:hover {
  border-color: rgba(99, 102, 241, 0.32);
  background: rgba(47, 48, 54, 0.82);
  transform: translateY(-2px);
}

.contact-route-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.25;
}

.contact-route-card p {
  margin: 0;
  color: var(--muted);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.logo-tile {
  display: flex;
  width: 132px;
  height: 74px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.logo-tile img {
  max-width: 88px;
  max-height: 42px;
}

.legal-document {
  padding: 34px;
}

.legal-document h2,
.legal-document h3,
.legal-document h4,
.legal-document h5 {
  margin: 32px 0 10px;
  color: var(--text);
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document a {
  color: var(--primary-2);
}

.legal-document hr {
  border: 0;
  border-top: 1px solid var(--border-soft);
  margin: 32px 0;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
}

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

.article-media {
  overflow: hidden;
  height: 180px;
  margin: -24px -24px 20px;
  border-radius: 12px 12px 0 0;
  background: var(--bg-3);
}

.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  color: var(--muted);
}

.article-content h2,
.article-content h3 {
  color: var(--text);
}

.article-content a {
  color: var(--primary-2);
}

.article-banner {
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.article-banner img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.page-link {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: var(--bg-2);
}

.page-item.active .page-link,
.page-link:hover {
  color: var(--text);
  border-color: var(--primary);
}

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: #141518;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 36px;
  padding: 58px 0;
}

.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 15px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border-soft);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .mobile-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .nav-links,
  .nav-actions {
    position: fixed;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--border);
    background: var(--bg-1);
  }

  .nav-links {
    top: 88px;
    padding: 14px;
    border-radius: 12px 12px 0 0;
  }

  .nav-actions {
    top: 477px;
    padding: 14px;
    border-top: 0;
    border-radius: 0 0 12px 12px;
  }

  body.nav-open .nav-links,
  body.nav-open .nav-actions {
    display: flex;
  }

  .nav-link {
    min-height: 46px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 70px;
  }

  .hero + .section {
    padding-top: 150px;
  }

  .dashboard-preview {
    margin-bottom: 0;
  }

  .home-hero-grid,
  .preview-grid,
  .split,
  .split.reverse,
  .contact-split,
  .blog-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-split {
    gap: 42px;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .container,
  .container-narrow {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding-top: 112px;
    text-align: left;
  }

  .hero-content,
  .hero h1,
  .hero p,
  .page-hero h1,
  .page-hero p {
    text-align: left;
  }

  .hero-actions,
  .hero-proof {
    justify-content: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .preview-grid,
  .metric-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .document-card {
    min-height: auto;
  }

  .feature-collage {
    grid-template-columns: 1fr;
  }

  .feature-collage > div:nth-child(2) {
    padding-top: 0;
  }

  .visual-frame img,
  .visual-frame-icon {
    height: 260px;
  }

  .visual-frame-icon svg {
    width: 90px;
    height: 90px;
  }

  .page-hero {
    padding-top: 118px;
  }

  .home-hero {
    padding-top: 112px;
  }

  .home-hero .home-hero-copy,
  .home-hero .home-hero-copy h1,
  .home-hero .home-hero-copy p {
    text-align: center;
  }

  .home-hero .hero-actions,
  .home-hero .hero-proof {
    justify-content: center;
  }

  .demo-browser {
    height: 260px;
  }

  .legal-document,
  .contact-card,
  .contact-form-card,
  .contact-route-card,
  .feature-card,
  .step-card,
  .plan-card,
  .article-card,
  .sidebar-card {
    padding: 20px;
  }

  .article-media {
    margin: -20px -20px 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
