:root {
  color-scheme: light;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --page: #ffffff;
  --header: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f8f9fa;
  --surface-soft: #f1f3f5;
  --surface-blue: #e7f3ff;
  --surface-dark-terminal: #141414;
  --browser-bar: #f6f6f6;
  --text: #141414;
  --heading: #141414;
  --muted: #495057;
  --muted-soft: #868e96;
  --border: #e9ecef;
  --border-strong: #dee2e6;
  --blue: #0b60d8;
  --blue-hover: #1b72f2;
  --blue-light: #458bf2;
  --green: #40c057;
  --red: #ff5f56;
  --yellow: #ffbd2e;
  --window-green: #27c93f;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-window: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] {
  color-scheme: dark;
  --page: #1f1f1f;
  --header: #1f1f1f;
  --surface: #1f1f1f;
  --surface-muted: #242424;
  --surface-soft: #2e2e2e;
  --surface-blue: rgba(34, 139, 230, 0.08);
  --browser-bar: #242424;
  --text: #c9c9c9;
  --heading: #ffffff;
  --muted: #adb5bd;
  --muted-soft: #868e96;
  --border: #3b3b3b;
  --border-strong: #424242;
  --blue-light: #458bf2;
  --shadow-window: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

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

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 60px;
  background: var(--header);
}

.header-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 16px;
  gap: 0;
}

.header-brand-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.header-brand-nav {
  flex: 1;
  gap: 0;
}

.wordmark {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--heading);
}

.desktop-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 12px;
}

.desktop-nav a {
  display: block;
  padding: 10px;
  border-radius: 8px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
  transition: background-color 0.15s ease;
}

.desktop-nav a:first-child {
  padding-left: 10px;
  padding-right: 10px;
}

.desktop-nav a:hover {
  background: var(--surface-muted);
}

.header-actions {
  gap: 16px;
  margin-right: 0;
}

.header-actions .button {
  min-height: 36px;
  padding: 0 18px;
  font-size: 14px;
  line-height: 14px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.header-actions > .theme-toggle {
  margin-right: 12px;
}

.theme-toggle:hover {
  background: var(--surface-muted);
}

.icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

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

.button-primary {
  background: var(--blue);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--blue-hover);
}

.button-secondary {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover {
  background: var(--surface-muted);
}

.button-outline {
  border-color: var(--blue);
  background: transparent;
  color: var(--blue);
}

.button-outline:hover {
  background: rgba(11, 96, 216, 0.05);
}

[data-theme="dark"] .button-outline {
  border-color: var(--blue-light);
  color: var(--blue-light);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 7px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 60px 0 0;
  z-index: 90;
  display: none;
  flex-direction: column;
  padding: 8px 16px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.mobile-nav nav a {
  padding: 10px 4px;
  border-radius: 8px;
  font-weight: 500;
}

.mobile-nav nav a:hover {
  background: var(--surface-muted);
}

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

.mobile-nav-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.page-shell {
  padding: 76px 16px 16px;
}

main,
.site-footer {
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-right: 40px;
  padding-left: 40px;
}

.section-header {
  text-align: center;
}

.section-header h2 {
  margin-bottom: 16px;
  color: var(--heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}

.section-header p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.hero-section {
  padding: 80px 0 220px;
  background: var(--surface);
}

.hero-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 80px;
}

.hero-content {
  flex: 1;
  max-width: 540px;
}

.hero-content h1 {
  margin-bottom: 24px;
  color: var(--heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-description {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  gap: 16px;
}

.hero-proof {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding-top: 16px;
  gap: 16px;
}

.hero-proof p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
}

.github-star {
  display: inline-flex;
  align-items: stretch;
  height: 32px;
  border: 1px solid #111111;
  border-radius: 5px;
  background: #171717;
  color: #ffffff;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
}

.github-star-label {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  background: #242424;
}

.github-star-label svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.github-count {
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.hero-visual {
  flex: 1.2;
  min-width: 0;
  max-width: 900px;
}

.browser-window {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-window);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  background: var(--browser-bar);
  border-bottom: 1px solid var(--border-strong);
  gap: 8px;
}

.browser-dot {
  display: block;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: var(--red);
}

.dot-yellow {
  background: var(--yellow);
}

.dot-green {
  background: var(--window-green);
}

.browser-window > img,
.hero-window > img {
  width: 100%;
  height: auto;
  background: #ffffff;
}

.hero-window {
  border-radius: 16px;
}

.hero-tabs {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.pill-tab {
  min-height: 41px;
  padding: 9px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.pill-tab:hover {
  border-color: var(--muted-soft);
  color: var(--heading);
  transform: translateY(-1px);
}

.pill-tab.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
  transform: none;
}

.trust-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  background: var(--surface-muted);
}

.trust-container {
  max-width: 1600px;
  text-align: center;
}

.trust-title {
  margin-bottom: 32px;
  color: var(--muted-soft);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 12px;
  gap: 60px;
}

[data-theme="dark"] .logo-grid {
  background: #f8f9fa;
}

.logo-grid img {
  width: auto;
  max-width: 180px;
  max-height: 50px;
  object-fit: contain;
}

.features-section {
  padding: 50px 0;
  background: var(--surface-muted);
}

.features-header {
  margin-bottom: 80px;
}

.features-header h2 {
  margin-bottom: 20px;
}

.features-header p {
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
}

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

.feature-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  gap: 12px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.feature-card h3 {
  margin-bottom: 0;
  color: var(--heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted-soft);
  font-size: 15px;
  line-height: 1.5;
}

.feature-image {
  margin-top: auto;
  padding-top: 8px;
  border-radius: 8px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.ai-section {
  padding: 100px 0;
  background: var(--surface);
}

.ai-header {
  margin-bottom: 60px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-header .eyebrow {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.55;
}

.ai-header p:last-child {
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
}

.ai-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.ai-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border: 0;
  background: transparent;
  color: #adb5bd;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.ai-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: transparent;
  content: "";
}

.ai-tab svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-tab.is-active {
  color: var(--blue);
}

.ai-tab.is-active::after {
  background: var(--blue);
}

.ai-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.ai-copy {
  flex: 1;
  max-width: 480px;
}

.ai-copy h3 {
  margin-bottom: 16px;
  color: var(--heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.ai-copy > p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.ai-copy ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 12px;
}

.ai-copy li {
  position: relative;
  padding-left: 21px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.ai-copy li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--blue);
  content: "•";
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.ai-preview {
  flex: 1.2;
  min-width: 0;
}

.ai-preview img {
  width: 100%;
  height: auto;
}

.diagram-section {
  padding: 100px 0;
  background: var(--surface-muted);
}

.diagram-section .section-header {
  margin-bottom: 60px;
}

.diagram-content {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.diagram-preview {
  flex: 1.2;
  min-width: 0;
}

.diagram-preview img {
  aspect-ratio: 1200 / 750;
  object-fit: cover;
}

.diagram-options {
  display: flex;
  flex: 0 0 380px;
  flex-direction: column;
  gap: 16px;
}

.diagram-option {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  gap: 16px;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.diagram-option:hover {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .diagram-option:hover {
  background: rgba(255, 255, 255, 0.03);
}

.diagram-option.is-active {
  background: var(--surface);
  box-shadow: 0 11px 34px rgba(0, 0, 0, 0.08);
}

.diagram-option img {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.diagram-option strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.diagram-option.is-active strong {
  color: var(--blue);
}

.diagram-option span span {
  display: block;
  color: var(--muted-soft);
  font-size: 14px;
  line-height: 1.5;
}

.screenshot-section {
  padding: 100px 0;
  background: var(--surface);
}

.screenshot-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}

.screenshot-header {
  margin-bottom: 80px;
}

.screenshot-header p {
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
}

.screenshot-content {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.accordion {
  flex: 0 0 45%;
}

.accordion-item {
  margin-bottom: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.accordion-item.is-open {
  border-color: var(--blue);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 80px;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  color: var(--heading);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.accordion-trigger:hover {
  background: var(--surface-muted);
}

.accordion-trigger svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted-soft);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.accordion-item.is-open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-panel {
  display: none;
  padding: 0 24px 20px;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.accordion-panel p {
  margin: 0;
  color: var(--muted-soft);
  font-size: 16px;
  line-height: 1.5;
}

.mobile-accordion-image {
  display: none;
  margin-top: 20px;
}

.screenshot-preview {
  flex: 1;
  min-width: 0;
}

.screenshot-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 750;
  object-fit: cover;
}

.compliance-section {
  padding: 100px 0;
  background: var(--surface);
}

.compliance-container {
  max-width: 1400px;
}

.compliance-header {
  margin-bottom: 80px;
}

.compliance-header h2 {
  margin-bottom: 20px;
}

.compliance-header p {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
}

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

.compliance-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.compliance-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--blue);
  content: "";
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.compliance-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.compliance-card:hover::before {
  transform: translateX(0);
}

[data-theme="dark"] .compliance-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.compliance-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border: 1px solid #d0e4ff;
  border-radius: 8px;
  background: var(--surface-blue);
  color: var(--blue);
}

[data-theme="dark"] .compliance-icon {
  border-color: var(--border-strong);
  color: var(--blue-light);
}

.compliance-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compliance-card h3 {
  margin-bottom: 12px;
  color: var(--heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
}

.compliance-card > p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.compliance-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compliance-card li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  color: var(--text);
  font-size: 14px;
  gap: 8px;
}

.compliance-card li::before {
  color: var(--green);
  content: "✓";
  font-weight: 700;
}

.integrations-section {
  padding: 80px 0;
  background: var(--surface-muted);
}

.integrations-container {
  max-width: 1200px;
}

.integrations-header {
  margin-bottom: 48px;
}

.integrations-header p {
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
}

.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.integration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.integration-logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.integration:hover .integration-logo {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.integration-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.integration > span {
  color: var(--muted-soft);
  font-size: 13px;
  font-weight: 500;
}

.migration-section {
  padding: 60px 0;
  background: var(--surface-blue);
}

.migration-container {
  max-width: 1200px;
}

.migration-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.migration-copy {
  flex: 1;
  max-width: 600px;
}

.migration-row > .button {
  min-height: 49px;
  padding: 12px 28px;
}

.migration-copy h2 {
  margin-bottom: 16px;
  color: var(--heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

.migration-copy > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.migration-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.migration-platforms span {
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  gap: 7px;
}

.migration-platforms svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-section {
  position: relative;
  padding: 40px 0;
  background: var(--surface-muted);
  overflow: hidden;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 16px;
  color: var(--heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}

.cta-content p {
  margin-bottom: 24px;
  color: var(--muted-soft);
  font-size: 18px;
  line-height: 1.5;
}

.cta-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-button {
  min-height: 54px;
  padding: 14px 32px;
}

.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--surface-muted);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-groups {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-group {
  width: 160px;
}

.footer-group p {
  margin-bottom: 6px;
  color: var(--heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.footer-group a {
  display: block;
  padding-top: 3px;
  padding-bottom: 3px;
  color: var(--muted-soft);
  font-size: 16px;
  line-height: 1.55;
}

.footer-group a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  gap: 24px;
}

.footer-bottom > p {
  margin: 0;
  color: var(--muted-soft);
  font-size: 14px;
}

.status-link {
  display: flex;
  align-items: center;
  color: var(--muted-soft);
  font-size: 18px;
  font-weight: 600;
  gap: 14px;
}

.status-link:hover {
  text-decoration: underline;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 32px;
  background: var(--surface);
  color: var(--text);
}

.social-links a:hover {
  background: var(--surface-soft);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (min-width: 1400px) {
  .hero-container {
    padding-right: 60px;
    padding-left: 60px;
  }

  .container {
    padding-right: 60px;
    padding-left: 60px;
  }

  .features-container,
  .compliance-container,
  .integrations-container,
  .migration-container {
    padding-right: 40px;
    padding-left: 40px;
  }
}

@media (min-width: 1600px) {
  .hero-container {
    padding-right: 80px;
    padding-left: 80px;
  }

  .container {
    padding-right: 80px;
    padding-left: 80px;
  }
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 0;
    margin-right: 0;
  }

  .desktop-nav a {
    padding-right: 7px;
    padding-left: 7px;
  }

  .header-actions {
    gap: 8px;
    margin-right: 0;
  }

  .header-row {
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .header-signin,
  .header-sales {
    display: none;
  }

  .header-actions > .theme-toggle {
    display: none;
  }

  .menu-toggle,
  .mobile-nav {
    display: flex;
  }

  .menu-toggle {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
  }

  .menu-toggle span {
    width: 18px;
    margin: 0;
  }

  .hero-container {
    flex-direction: column;
    padding: 0 24px;
    text-align: center;
  }

  .hero-content {
    max-width: 600px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-proof {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 900px;
  }

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

  .ai-content {
    flex-direction: column;
    gap: 40px;
  }

  .ai-copy {
    width: 100%;
    max-width: 700px;
  }

  .ai-preview {
    width: 100%;
  }

  .diagram-content {
    flex-direction: column;
    gap: 40px;
  }

  .diagram-options {
    flex: 1;
    width: 100%;
  }

  .diagram-preview {
    width: calc(100% + 16px);
  }

  .screenshot-content {
    flex-direction: column;
    gap: 32px;
  }

  .accordion {
    width: 100%;
    flex: 1;
  }

  .screenshot-preview {
    display: none;
  }

  .mobile-accordion-image {
    display: block;
  }

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

  .compliance-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .page-shell {
    padding: 76px 16px 16px;
  }

  .container {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero-section {
    padding: 80px 0 120px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-buttons {
    gap: 12px;
  }

  .hero-proof {
    flex-direction: row;
    gap: 16px;
  }

  .section-header h2,
  .ai-content h3,
  .cta-content h2 {
    font-size: 32px;
  }

  .section-header p,
  .ai-copy > p {
    font-size: 18px;
  }

  .trust-section {
    padding: 60px 0;
  }

  .logo-grid {
    gap: 40px;
  }

  .logo-grid img {
    max-height: 40px;
    max-width: 140px;
  }

  .features-section {
    padding: 50px 0;
  }

  .features-header {
    margin-bottom: 80px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 24px;
  }

  .ai-section,
  .diagram-section,
  .screenshot-section,
  .compliance-section {
    padding: 100px 0;
  }

  .ai-header {
    margin-bottom: 60px;
  }

  .diagram-section .section-header {
    margin-bottom: 60px;
  }

  .screenshot-header,
  .compliance-header {
    margin-bottom: 80px;
  }

  .ai-tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .ai-tab {
    padding: 12px 20px;
    font-size: 15px;
  }

  .ai-tab svg {
    width: 28px;
    height: 28px;
  }

  .ai-content h3 {
    font-size: 26px;
  }

  .ai-copy > p {
    font-size: 16px;
  }

  .features-container,
  .compliance-container,
  .integrations-container,
  .migration-container {
    padding-right: 40px;
    padding-left: 40px;
  }

  .compliance-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .compliance-card:last-child {
    grid-column: auto;
  }

  .compliance-card {
    padding: 24px;
  }

  .integrations-section {
    padding: 80px 0;
  }

  .integrations-grid {
    gap: 24px;
  }

  .integration-logo {
    width: 56px;
    height: 56px;
    padding: 12px;
  }

  .integration > span {
    font-size: 12px;
  }

  .migration-section {
    padding: 40px 0;
  }

  .migration-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .migration-copy h2 {
    font-size: 28px;
  }

  .migration-copy > p {
    font-size: 16px;
  }

  .migration-row > .button {
    min-height: 49px;
    padding: 12px 28px;
  }

  .migration-row {
    gap: 40px;
  }

  .migration-platforms {
    gap: 12px;
  }

  .migration-platforms span {
    min-height: 0;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
  }

  .migration-platforms svg {
    width: 16px;
    height: 16px;
  }

  .cta-section {
    padding: 32px 40px;
  }

  .cta-content p {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .cta-button {
    min-height: 49px;
    padding: 12px 28px;
  }

  .footer-groups {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    padding: 32px 16px;
    gap: 0;
  }

  .footer-bottom .social-links {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
