:root {
  --primary: #2736ff;
  --primary-dark: #1825d9;
  --text: #101828;
  --muted: #667085;
  --background: #f7f9fc;
  --surface: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1160px;
  --focus: 0 0 0 4px rgba(39, 54, 255, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(247, 249, 252, 0.98) 0%, rgba(247, 249, 252, 0.98) 64%, rgba(236, 241, 255, 0.9) 64%, rgba(232, 238, 255, 0.9) 100%),
    var(--background);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary-dark);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 10px;
}

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2rem), 860px);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.42);
  border-block: 1px solid rgba(229, 231, 235, 0.8);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading.centered {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

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

h1 {
  font-size: clamp(2.6rem, 4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.65rem, 2.2vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

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

.lead,
.section-intro {
  color: var(--muted);
  font-size: 1.07rem;
  max-width: 64ch;
}

.checkout-notice {
  margin: 0 auto 2rem;
  max-width: 760px;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(39, 54, 255, 0.18);
  background: rgba(39, 54, 255, 0.08);
  color: var(--text);
  box-shadow: var(--shadow);
}

.checkout-notice.is-success {
  border-color: rgba(20, 184, 166, 0.28);
  background: rgba(20, 184, 166, 0.12);
}

.checkout-notice.is-cancelled {
  border-color: rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.12);
}

.checkout-reminder {
  margin-top: 0.65rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: rgba(16, 24, 40, 0.06);
  font-weight: 600;
}

.checkout-license {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.9rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(39, 54, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.checkout-license span {
  font-weight: 700;
}

.checkout-license code {
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(16, 24, 40, 0.06);
  word-break: break-all;
}

.license-copy {
  appearance: none;
  border: 1px solid rgba(39, 54, 255, 0.18);
  background: rgba(39, 54, 255, 0.08);
  color: var(--primary-dark);
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.license-copy:hover {
  background: rgba(39, 54, 255, 0.14);
}

.hero {
  padding-top: 4rem;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  padding-right: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 0.85rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(39, 54, 255, 0.2);
  background: rgba(39, 54, 255, 0.05);
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.microcopy,
.support-note,
.site-footer p {
  color: var(--muted);
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

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

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

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

.button-secondary:hover {
  color: var(--primary-dark);
  border-color: rgba(39, 54, 255, 0.24);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

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

.nav-cta {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(39, 54, 255, 0.08);
  color: var(--primary-dark) !important;
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

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

.card,
.hero-panel,
.cta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.4rem;
}

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

.feature-grid .card {
  min-height: 160px;
}

.hero-panel {
  padding: 1.2rem;
}

.hero-banner-wrap {
  padding: 1rem;
}

.hero-banner {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.08);
}

.hero-banner-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.2rem 0.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-card {
  overflow: hidden;
  margin-bottom: 1rem;
}

.mock-window,
.preview-window {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #fdfdff 100%);
}

.mock-toolbar {
  display: flex;
  gap: 0.45rem;
  padding: 0.85rem 1rem 0;
}

.mock-toolbar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #d0d5dd;
}

.mock-content {
  padding: 1.1rem;
}

.mock-line {
  height: 0.8rem;
  border-radius: 999px;
  background: #e9edf5;
  margin-bottom: 0.8rem;
}

.mock-box {
  height: 140px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(39, 54, 255, 0.08), rgba(39, 54, 255, 0.02)),
    #f4f6fb;
  margin: 1rem 0;
}

.w-65 {
  width: 65%;
}

.w-75 {
  width: 75%;
}

.w-80 {
  width: 80%;
}

.w-90 {
  width: 90%;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.panel-stats div {
  padding: 0.95rem;
  border-radius: 16px;
  background: #f8faff;
  border: 1px solid #eef2ff;
}

.panel-stats strong {
  display: block;
  margin-bottom: 0.25rem;
}

.panel-stats span {
  color: var(--muted);
  font-size: 0.93rem;
}

.preview-placeholder {
  margin-top: 1rem;
}

.preview-window {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 340px;
  overflow: hidden;
}

.preview-sidebar {
  background: linear-gradient(180deg, #f3f5ff 0%, #eef2ff 100%);
  padding: 1rem;
}

.preview-sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.preview-main {
  padding: 1.1rem;
  display: grid;
  gap: 0.8rem;
}

.identity-preview {
  overflow: hidden;
}

.preview-banner {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(39, 54, 255, 0.08);
}

.pricing-snapshot,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

.price-card,
.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0;
}

.pill {
  display: inline-flex;
  width: fit-content;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(39, 54, 255, 0.08);
}

.featured {
  border-color: rgba(39, 54, 255, 0.22);
  box-shadow: 0 20px 50px rgba(39, 54, 255, 0.1);
}

.check-list,
.link-list {
  margin: 0;
  padding-left: 1.2rem;
}

.check-list li,
.link-list li {
  margin-bottom: 0.55rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  margin-top: 0.9rem;
  color: var(--muted);
}

.cta-section {
  padding-top: 1rem;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-grid nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-grid nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 0.35rem;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.doc-card {
  text-decoration: none;
  color: inherit;
}

.doc-card:hover {
  border-color: rgba(39, 54, 255, 0.22);
  transform: translateY(-1px);
}

.doc-content {
  display: grid;
  gap: 1rem;
}

.doc-section ol,
.doc-section ul {
  margin: 0;
  padding-left: 1.2rem;
}

.doc-section li + li {
  margin-top: 0.45rem;
}

.support-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.table-card {
  margin-top: 1rem;
}

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

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

th,
td {
  padding: 0.9rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

thead th {
  color: var(--muted);
  font-size: 0.92rem;
}

tbody th {
  font-weight: 700;
}

.policy + .policy {
  margin-top: 1rem;
}

.nav-open .site-nav {
  display: flex;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .pricing-grid,
  .support-layout,
  .feature-grid,
  .doc-grid,
  .pricing-snapshot {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-right: 0;
  }

  .preview-window {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    min-height: 84px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 3.5rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav a {
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
  }

  .nav-cta {
    background: rgba(39, 54, 255, 0.08);
  }

  .cta-card,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
