:root {
  --paper: #ffffff;
  --paper-soft: #f6f8ff;
  --paper-blue: #eef3ff;
  --surface: #ffffff;
  --surface-strong: #fbfcff;
  --ink: #20232d;
  --muted: #667085;
  --muted-2: #8a94a8;
  --line: #dfe6f5;
  --line-strong: #c9d3ea;
  --blue: #3f5efb;
  --blue-dark: #2645d9;
  --blue-soft: #edf2ff;
  --dark: #20232d;
  --shadow: 0 26px 70px rgba(36, 57, 125, 0.12);
  --shadow-soft: 0 16px 40px rgba(31, 49, 111, 0.08);
  --radius-sm: 6px;
  --radius: 8px;
  --wrap: 1180px;
  --font-ui: "Segoe UI", Aptos, "Helvetica Neue", Arial, sans-serif;

  --green: var(--blue);
  --green-2: var(--blue-dark);
  --coral: var(--blue);
  --signal: var(--blue-soft);
  --soft: var(--paper-soft);
  --soft-2: var(--blue-soft);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body::before {
  content: none;
}

a {
  color: inherit;
}

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

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

button {
  cursor: pointer;
}

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

:focus-visible {
  outline: 3px solid #8fa2ff;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 24px;
  top: 16px;
  z-index: 50;
  transform: translateY(-150%);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 min(9vw, 128px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: #1f2430;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid #20232d;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 46%, #20232d 46% 54%, transparent 54%),
    repeating-linear-gradient(0deg, transparent 0 5px, #20232d 5px 6px, transparent 6px 11px),
    #fff;
  color: transparent;
  font-size: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  min-width: 0;
  color: #20232d;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.header-actions,
.hero-actions,
.inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.header-actions {
  flex: 0 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.button-primary,
.button-dark {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

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

.button-secondary,
.button-ghost {
  border-color: #b7c4ff;
  background: #fff;
  color: var(--blue);
}

.page-hero {
  position: relative;
  overflow: hidden;
  border: 0;
  background: #fff;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto min(9vw, 128px) 0;
  height: 1px;
  background: var(--line);
}

.page-hero-inner,
.section-inner,
.footer-inner {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(340px, 0.7fr);
  gap: clamp(44px, 6vw, 78px);
  align-items: center;
  padding: 74px 0 76px;
}

.page-kicker,
.eyebrow,
.mini-label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.12;
}

h3 {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.18;
}

.lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: #5d6575;
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions,
.inline-actions {
  margin-top: 28px;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  color: #28324a;
  font-size: 12px;
  font-weight: 800;
}

.proof-list li::before {
  content: "+";
  margin-right: 6px;
  color: var(--blue);
  font-weight: 900;
}

.section {
  padding: 110px 0;
}

.section-surface {
  border: 0;
  background: linear-gradient(180deg, #f0f4ff, #ffffff);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p,
.muted,
.card p,
.feature-card p,
.case-card p,
.doc-card p,
.support-card p,
.plan-card p {
  color: var(--muted);
}

.section-heading p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.card-grid,
.feature-grid,
.case-grid,
.doc-grid,
.plan-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.feature-card,
.case-card,
.doc-card,
.plan-card,
.support-card,
.timeline-item,
.proof-panel,
.control-panel,
.phone-panel,
.url-panel,
.console-panel,
.filter-panel,
.product-card,
.support-form,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.card,
.feature-card,
.case-card,
.doc-card,
.support-card,
.plan-card {
  min-width: 0;
  padding: 28px;
}

.card p:last-child,
.feature-card p:last-child,
.case-card p:last-child,
.doc-card p:last-child,
.support-card p:last-child {
  margin-bottom: 0;
}

.proof-panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background: linear-gradient(180deg, #fff, #f8faff);
  box-shadow: var(--shadow);
}

.proof-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(63, 94, 251, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(63, 94, 251, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
}

.proof-panel > * {
  position: relative;
  z-index: 1;
}

.storefront-mini {
  display: grid;
  grid-template-columns: 0.58fr 1fr;
  gap: 14px;
}

.filter-mini,
.result-mini {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  padding: 14px;
}

.fake-input,
.fake-row,
.fake-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.fake-input {
  height: 34px;
}

.fake-row {
  height: 22px;
  margin-top: 10px;
}

.fake-chip {
  display: inline-block;
  min-width: 76px;
  height: 28px;
  margin: 0 6px 8px 0;
  background: var(--blue-soft);
}

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

.mini-product {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(63, 94, 251, 0.16), #fff 58%);
}

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

.data-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.data-list li:last-child {
  border-bottom: 0;
}

.data-list span {
  color: var(--muted);
  text-align: right;
}

.demo-layout,
.support-layout,
.mobile-demo {
  display: grid;
  gap: 22px;
  align-items: start;
}

.demo-layout {
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
}

.support-layout {
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.7fr);
}

.mobile-demo {
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
  align-items: center;
}

.filter-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 22px;
  background: var(--surface-strong);
}

.field {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.field span,
.field label,
legend {
  font-weight: 800;
}

fieldset.field {
  border: 0;
  padding: 0;
}

.filter-panel label {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: flex-start;
  color: var(--muted);
}

.field input,
.field select,
.field textarea,
.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
}

.field input[type="range"] {
  padding: 0;
  accent-color: var(--blue);
}

.field input[type="checkbox"],
.field input[type="radio"] {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  accent-color: var(--blue);
}

.demo-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip,
.tag,
.status-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(63, 94, 251, 0.2);
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue-dark);
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

.status-tag.warn {
  border-color: #f4c58f;
  background: #fff8e5;
  color: #8a5700;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-card[hidden] {
  display: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}

.product-info {
  padding: 16px;
}

.product-info h3 {
  font-size: 18px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.url-strip {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #20232d;
  color: #dfe7ff;
  padding: 14px 16px;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.phone-frame {
  min-height: 430px;
  overflow: hidden;
  border: 10px solid var(--dark);
  border-radius: 28px;
  background: var(--paper-blue);
  padding: 14px;
  box-shadow: var(--shadow);
}

.phone-shop {
  display: grid;
  gap: 10px;
}

.phone-product {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.floating-filter-button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.drawer-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-strong);
  color: #3d465a;
  font-size: 12px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.callout {
  margin: 22px 0 0;
  border: 1px solid rgba(63, 94, 251, 0.2);
  border-radius: var(--radius);
  background: var(--blue-soft);
  padding: 18px;
}

.callout strong {
  color: var(--blue-dark);
}

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 4px;
  box-shadow: var(--shadow-soft);
}

.billing-toggle button {
  min-height: 38px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  padding: 8px 14px;
  font-weight: 900;
}

.billing-toggle button[aria-pressed="true"] {
  background: var(--blue);
  color: #fff;
}

.plan-card {
  display: grid;
  align-content: start;
  min-height: 430px;
}

.plan-card.featured {
  border-color: #8fa2ff;
  box-shadow: var(--shadow);
}

.price {
  margin: 18px 0 6px;
  color: var(--ink);
  font-size: 46px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 11px;
  height: 7px;
  border-bottom: 3px solid var(--blue);
  border-left: 3px solid var(--blue);
  transform: rotate(-45deg);
}

.support-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.status-message {
  min-height: 24px;
  margin: 0;
  color: var(--blue-dark);
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 22px;
}

.timeline-date {
  color: var(--blue);
  font-weight: 900;
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

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

.footer-links a {
  color: #20232d;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue);
}

@media (max-width: 1160px) {
  .site-header {
    padding: 0 54px;
  }

  .header-actions .button-ghost {
    display: none;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .proof-panel {
    max-width: 720px;
  }

  .card-grid,
  .feature-grid,
  .case-grid,
  .doc-grid,
  .plan-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (max-width: 820px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header {
    min-height: 72px;
    padding: 0 18px;
  }

  .header-actions {
    display: none;
  }

  .page-hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 36px, var(--wrap));
  }

  .page-hero-inner {
    gap: 24px;
    padding: 38px 0 58px;
  }

  .page-hero::after {
    inset-right: 18px;
    inset-left: 18px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  .lede {
    font-size: 16px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading,
  .demo-layout,
  .support-layout,
  .mobile-demo,
  .footer-inner,
  .timeline-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .filter-panel {
    position: static;
  }

  .card,
  .feature-card,
  .case-card,
  .doc-card,
  .support-card,
  .plan-card {
    padding: 24px;
  }

  .plan-card {
    min-height: 0;
  }

  .footer-inner {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    display: none;
  }

  .button,
  .hero-actions .button,
  .inline-actions .button {
    width: 100%;
  }

  .hero-actions,
  .inline-actions {
    width: 100%;
  }

  .card-grid,
  .feature-grid,
  .case-grid,
  .doc-grid,
  .plan-grid,
  .product-grid,
  .storefront-mini {
    grid-template-columns: minmax(0, 1fr);
  }

  .data-list li,
  .demo-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .data-list span {
    text-align: left;
  }

  .billing-toggle {
    display: flex;
    width: 100%;
  }

  .billing-toggle button {
    flex: 1;
  }

  .price {
    font-size: 42px;
  }

  table {
    min-width: 680px;
  }
}

@media (max-width: 380px) {
  .page-hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, var(--wrap));
  }

  h1 {
    font-size: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
