:root {
  --primary: #1677ff;
  --primary-hover: #4096ff;
  --primary-active: #0958d9;
  --primary-soft: #e6f4ff;
  --primary-border: #91caff;
  --navy: #001529;
  --navy-2: #0b2744;
  --bg: #f5f5f5;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --text: #262626;
  --text-2: #595959;
  --text-3: #8c8c8c;
  --border: #d9d9d9;
  --border-soft: #f0f0f0;
  --success: #52c41a;
  --success-soft: #f6ffed;
  --warning: #faad14;
  --warning-soft: #fffbe6;
  --danger: #ff4d4f;
  --danger-soft: #fff2f0;
  --cyan: #13c2c2;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 6px 24px rgba(0, 21, 41, 0.08);
  --shadow-lg: 0 24px 70px rgba(0, 21, 41, 0.18);
  --font: "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* The short pre-launch purchase page should still finish at the viewport edge
   on large displays instead of leaving a detached white area below its footer. */
body[data-page="buy"] {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.52;
  background-image:
    linear-gradient(rgba(0, 21, 41, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 21, 41, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
}

a {
  color: var(--primary);
  text-decoration: none;
}

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

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

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

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

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

h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.22;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 64px;
  color: #fff;
  background: rgba(0, 21, 41, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.site-header .container {
  display: flex;
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: #fff;
}

.brand:hover {
  color: #fff;
}

.brand-wordmark {
  display: block;
  width: 174px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.site-nav .nav-buy {
  margin-left: 8px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.site-nav .nav-buy:hover,
.site-nav .nav-buy.active {
  background: var(--primary-hover);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  margin-left: auto;
  padding: 9px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

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

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

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

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

main {
  /* clip (not hidden) prevents horizontal overflow without turning <main> into
     a scroll container, which would break position: sticky on the docs sidebar. */
  overflow-x: clip;
}

body[data-page="buy"] main {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

.hero {
  position: relative;
  padding: 132px 0 84px;
  background:
    radial-gradient(circle at 78% 26%, rgba(22, 119, 255, 0.18), transparent 30%),
    linear-gradient(145deg, #001529 0%, #071f38 58%, #0b2f54 100%);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 20%, transparent 90%);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 52px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 5px 10px;
  border: 1px solid rgba(145, 202, 255, 0.25);
  border-radius: 999px;
  color: #91caff;
  background: rgba(22, 119, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.eyebrow .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(82, 196, 26, 0.14);
}

.hero h1 {
  max-width: 740px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(42px, 5vw, 67px);
  font-weight: 720;
  letter-spacing: -0.05em;
}

.hero h1 span {
  color: #69b1ff;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: 0.18s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
  color: #fff;
  background: var(--primary-hover);
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.28);
}

.btn-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.btn-light:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.13);
}

.btn-default {
  color: var(--text);
  border-color: var(--border);
  background: #fff;
}

.btn-default:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-lg {
  min-height: 48px;
  padding: 12px 23px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.hero-meta li::before {
  content: "✓";
  margin-right: 7px;
  color: #73d13d;
  font-weight: 700;
}

.app-window {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.36);
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}

.app-window::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 10%;
  z-index: 3;
  width: 50%;
  height: 140%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.16), transparent 75%);
  transform: rotate(12deg);
}

.app-topbar {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.72);
  background: #061c31;
  font-size: 10px;
}

.app-topbar > span:nth-child(2) {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app-window-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.app-window-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy);
}

.hero-video-expand {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: inline-flex;
  min-height: 34px;
  padding: 7px 11px 7px 8px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 21, 41, 0.84);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 650;
  transition: 0.18s ease;
}

.hero-video-expand:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(9, 88, 217, 0.9);
}

.hero-video-expand:focus-visible {
  outline: 3px solid rgba(145, 202, 255, 0.58);
  outline-offset: 3px;
}

.hero-video-expand svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.video-modal {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle at 78% 12%, rgba(22, 119, 255, 0.24), transparent 34%),
    #001529;
}

.video-modal[open] {
  display: grid;
  place-items: center;
}

.video-modal::backdrop {
  background: rgba(0, 12, 24, 0.92);
  backdrop-filter: blur(8px);
}

.video-modal-shell {
  width: min(1600px, calc(100vw - 48px));
}

.video-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.video-modal-head strong {
  display: block;
  font-size: 20px;
}

.video-modal-head span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.video-modal-close {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0 0 4px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-family: inherit;
  font-size: 30px;
  line-height: 1;
  transition: 0.18s ease;
}

.video-modal-close:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
}

.video-modal-player {
  display: block;
  width: 100%;
  max-height: calc(100vh - 126px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: #001529;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.52);
}

.capture-badge {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid rgba(145, 202, 255, 0.25);
  border-radius: 4px;
  color: #91caff;
  background: rgba(22, 119, 255, 0.12);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.window-dots {
  display: flex;
  gap: 5px;
  margin-right: 14px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.app-shell {
  display: grid;
  grid-template-columns: 136px 1fr;
  min-height: 404px;
  background: #f5f5f5;
}

.app-sidebar {
  padding: 13px 8px;
  color: rgba(255, 255, 255, 0.64);
  background: var(--navy);
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 8px 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.mini-brand i {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--primary);
}

.app-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 27px;
  margin-bottom: 3px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 8px;
}

.app-menu-item.active {
  color: #fff;
  background: var(--primary);
}

.menu-icon {
  width: 10px;
  height: 10px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.85;
}

.app-content {
  padding: 18px;
}

.app-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.app-title h3 {
  margin: 0;
  font-size: 17px;
}

.app-title span {
  color: var(--text-3);
  font-size: 8px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.mini-card {
  padding: 10px;
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.mini-card small {
  display: block;
  color: var(--text-3);
  font-size: 7px;
}

.mini-card strong {
  font-size: 17px;
  font-weight: 600;
}

.mini-card strong::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.app-panels {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
}

.panel-card {
  min-height: 160px;
  padding: 11px;
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  background: #fff;
}

.panel-title {
  margin-bottom: 10px;
  font-size: 9px;
  font-weight: 650;
}

.schedule-mini {
  display: grid;
  grid-template-columns: 25px repeat(5, 1fr);
  gap: 2px;
}

.schedule-mini i {
  min-height: 19px;
  border-radius: 2px;
  background: #f5f5f5;
}

.schedule-mini i:nth-child(7n + 2),
.schedule-mini i:nth-child(9n + 4) {
  background: #e6f4ff;
  box-shadow: 0 0 0 1px #91caff inset;
}

.schedule-mini i:nth-child(11n + 5) {
  background: #f6ffed;
  box-shadow: 0 0 0 1px #b7eb8f inset;
}

.workload-line {
  display: grid;
  grid-template-columns: 44px 1fr 22px;
  gap: 6px;
  align-items: center;
  margin: 8px 0;
  color: var(--text-2);
  font-size: 7px;
}

.workload-bar {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0f0f0;
}

.workload-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--success);
}

.workload-line:nth-child(3) .workload-bar i {
  background: var(--warning);
}

.page-hero {
  position: relative;
  padding: 122px 0 56px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(22, 119, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #001529, #0b2b4b);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 100%;
}

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

.page-hero h1 {
  max-width: 800px;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.035em;
}

.page-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 17px;
}

.section {
  padding: 78px 0;
}

.section-white {
  background: #fff;
}

.section-dark {
  color: #fff;
  background: var(--navy);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-heading.center {
  display: block;
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.035em;
}

.section-heading p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--text-2);
}

.section-dark .section-heading h2,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.62);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card,
.info-card,
.guide-card,
.req-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover,
.info-card:hover,
.guide-card:hover,
.req-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid #bae0ff;
  border-radius: 8px;
  color: var(--primary);
  background: var(--primary-soft);
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

.feature-card h3,
.info-card h3,
.guide-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.feature-card p,
.info-card p,
.guide-card p,
.req-card p {
  margin-bottom: 0;
  color: var(--text-2);
  font-size: 14px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  margin-top: -1px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.metric {
  padding: 26px;
  border-right: 1px solid var(--border-soft);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  margin-bottom: 3px;
  color: var(--primary-active);
  font-size: 27px;
  line-height: 1.2;
}

.metric strong > span {
  color: inherit;
  font-size: inherit;
}

.metric span {
  color: var(--text-2);
  font-size: 13px;
}

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

.split.reverse > :first-child {
  order: 2;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-2);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: #389e0d;
  background: var(--success-soft);
  font-size: 11px;
  font-weight: 800;
}

.product-visual {
  min-height: 360px;
  padding: 18px;
  border: 1px solid #cbdced;
  border-radius: 12px;
  background: linear-gradient(145deg, #ecf4fb, #f9fbfd);
  box-shadow: var(--shadow);
}

.product-shot {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 12px;
  border: 1px solid #c7d8e9;
  border-radius: 12px;
  background:
    linear-gradient(rgba(22, 119, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 255, 0.05) 1px, transparent 1px),
    #edf4fa;
  background-size: 24px 24px;
  box-shadow: var(--shadow);
}

.product-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(0, 21, 41, 0.12);
  border-radius: 0 0 7px 7px;
  background: #f5f5f5;
}

.shot-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 7px 7px 0 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
  font-size: 10px;
}

.shot-chrome span:first-child {
  color: #fff;
  font-weight: 650;
}

.product-shot figcaption {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 4px 1px;
  color: var(--text-2);
  font-size: 11px;
}

.product-shot figcaption .status-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(82, 196, 26, 0.12);
}

.visual-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  margin-bottom: 12px;
  padding: 0 14px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}

.visual-toolbar .pill {
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--primary-active);
  background: var(--primary-soft);
  font-size: 10px;
}

.visual-grid {
  display: grid;
  grid-template-columns: 52px repeat(5, 1fr);
  gap: 5px;
}

.visual-grid > div {
  min-height: 44px;
  padding: 5px;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  color: var(--text-3);
  background: #fff;
  font-size: 8px;
}

.visual-grid .head {
  min-height: 26px;
  color: var(--text-2);
  background: #fafafa;
  font-weight: 600;
  text-align: center;
}

.visual-grid .lesson-blue {
  color: #0958d9;
  border-color: #91caff;
  background: #e6f4ff;
}

.visual-grid .lesson-green {
  color: #389e0d;
  border-color: #b7eb8f;
  background: #f6ffed;
}

.visual-grid .lesson-orange {
  color: #d46b08;
  border-color: #ffd591;
  background: #fff7e6;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #001529;
  box-shadow: var(--shadow-lg);
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #001529;
}

.video-placeholder {
  display: grid;
  min-height: 420px;
  padding: 48px;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  background:
    radial-gradient(circle at 60% 30%, rgba(22, 119, 255, 0.28), transparent 30%),
    #001529;
}

.video-placeholder strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 24px;
}

.video-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: var(--text-3);
  font-size: 12px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #fff;
  counter-increment: step;
}

.step-card::before {
  content: counter(step);
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-weight: 700;
}

.step-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.step-card p {
  margin-bottom: 0;
  color: var(--text-2);
  font-size: 14px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
  align-items: center;
}

.price-card {
  overflow: hidden;
  border: 1px solid var(--primary-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(22, 119, 255, 0.15);
}

.price-head {
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, #0958d9, #1677ff);
}

.price-head h3 {
  margin-bottom: 5px;
  color: #fff;
  font-size: 18px;
}

.price-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.price {
  margin: 20px 0 4px;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price small {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

.price-offer {
  display: grid;
  gap: 3px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.price-offer > span {
  color: #d9f7be;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-offer strong {
  color: #fff;
  font-size: 20px;
}

.price-offer small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
}

.price-body {
  padding: 28px;
}

.price-body .check-list {
  margin-top: 0;
  margin-bottom: 24px;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  color: var(--text-3);
  font-size: 11px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 42px;
  border-radius: 12px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(105, 177, 255, 0.3), transparent 25%),
    var(--navy);
  box-shadow: var(--shadow-lg);
}

.cta-panel h2 {
  margin-bottom: 7px;
  color: #fff;
  font-size: 30px;
}

.cta-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer {
  padding: 56px 0 22px;
  color: rgba(255, 255, 255, 0.58);
  background: #001020;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 38px;
}

.footer-brand {
  max-width: 330px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
}

.site-footer h4 {
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 8px 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.feature-rows {
  display: grid;
  gap: 26px;
}

.feature-row {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 38px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #fff;
}

.feature-row:nth-child(even) > :first-child {
  order: 2;
}

.feature-row h2 {
  margin-bottom: 12px;
  font-size: 27px;
  letter-spacing: -0.025em;
}

.feature-row p {
  color: var(--text-2);
}

.feature-row .product-visual {
  min-height: 300px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 1px 8px;
  border: 1px solid var(--primary-border);
  border-radius: 4px;
  color: var(--primary-active);
  background: var(--primary-soft);
  font-size: 11px;
  font-weight: 600;
}

.tag-success {
  color: #389e0d;
  border-color: #b7eb8f;
  background: var(--success-soft);
}

.docs-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 108px);
  padding: 14px;
  overflow-y: auto;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: #fff;
}

.docs-sidebar strong {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.docs-sidebar a {
  display: block;
  padding: 7px 10px;
  border-radius: 5px;
  color: var(--text-2);
  font-size: 13px;
}

.docs-sidebar a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.docs-sidebar a.active {
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-soft);
  box-shadow: inset 3px 0 0 var(--primary);
}

/* Anchor targets clear the sticky site header when jumped to.
   Keep this value in sync with the scroll-spy OFFSET in main.js so a clicked
   chapter lands exactly on the highlight detection line. */
.docs-content > [id] {
  scroll-margin-top: 100px;
}

.docs-content {
  display: grid;
  gap: 18px;
}

.doc-section {
  padding: 30px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: #fff;
}

.doc-section h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.doc-section h3 {
  margin: 24px 0 8px;
  font-size: 16px;
}

.doc-section p,
.doc-section li {
  color: var(--text-2);
  font-size: 14px;
}

.doc-section ol,
.doc-section ul {
  padding-left: 22px;
}

.doc-section li {
  margin: 7px 0;
}

.doc-shot {
  overflow: hidden;
  margin: 24px 0 0;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: #f5f5f5;
}

.doc-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.doc-shot figcaption {
  padding: 10px 13px;
  color: var(--text-3);
  background: #fff;
  font-size: 11px;
}

.callout {
  padding: 14px 16px;
  border: 1px solid #91caff;
  border-radius: 6px;
  color: #0958d9;
  background: var(--primary-soft);
  font-size: 13px;
}

.callout.warning {
  color: #ad6800;
  border-color: #ffe58f;
  background: var(--warning-soft);
}

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

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 7px;
  background: #fff;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 17px 19px;
  border: 0;
  color: var(--text);
  background: transparent;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  color: var(--primary);
  font-size: 20px;
  font-weight: 400;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 19px 18px;
  color: var(--text-2);
  font-size: 14px;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.form-card,
.checkout-card,
.success-card,
.download-card {
  padding: 30px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.contact-grid {
  gap: 34px;
}

.form-group {
  margin-bottom: 17px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: #fff;
  outline: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.12);
}

.form-help {
  display: block;
  margin-top: 5px;
  color: var(--text-3);
  font-size: 11px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 12px;
}

.checkbox input {
  margin-top: 4px;
  accent-color: var(--primary);
}

.download-terms {
  margin: 22px 0 14px;
  padding: 13px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 7px;
  background: var(--surface-soft);
  text-align: left;
}

.download-terms input {
  flex: 0 0 auto;
}

.download-terms-hint {
  min-height: 17px;
  text-align: center;
}

.btn[aria-disabled="true"] {
  opacity: 0.52;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.form-message {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 13px;
}

.form-message.success {
  display: block;
  color: #389e0d;
  border-color: #b7eb8f;
  background: var(--success-soft);
}

.form-message.error {
  display: block;
  color: #cf1322;
  border-color: #ffccc7;
  background: var(--danger-soft);
}

.form-message.info {
  display: block;
  color: #0958d9;
  border-color: #91caff;
  background: var(--primary-soft);
}

.checkout-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 34px;
  align-items: start;
}

.checkout-summary {
  position: sticky;
  top: 88px;
}

.checkout-hero {
  padding-bottom: 62px;
  background:
    radial-gradient(circle at 80% 15%, rgba(22, 119, 255, 0.22), transparent 26%),
    linear-gradient(140deg, #001529, #072b52);
}

.checkout-hero h1,
.checkout-hero p {
  color: #fff;
}

.checkout-hero p {
  color: rgba(255, 255, 255, 0.68);
}

.checkout-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.checkout-assurances span::first-letter {
  color: #73d13d;
}

.checkout-section {
  padding-top: 42px;
}

.checkout-main {
  display: grid;
  gap: 16px;
}

.institutional-checkout {
  display: grid;
  gap: 18px;
}

.checkout-form-section {
  padding: 30px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 21, 41, 0.045);
}

.form-section-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-soft);
}

.form-section-heading h2 {
  margin-bottom: 4px;
  font-size: 20px;
}

.form-section-heading p {
  margin: 0;
  color: var(--text-2);
  font-size: 13px;
}

.form-step {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--primary-border);
  border-radius: 7px;
  color: var(--primary-active);
  background: var(--primary-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.form-group-postal {
  grid-column: span 1;
}

.form-group-city {
  grid-column: span 1;
}

.invoice-note {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid #c6e3ff;
  border-radius: 7px;
  background: #f3f8ff;
}

.invoice-note-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.invoice-note strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 13px;
}

.invoice-note p {
  margin: 0;
  color: var(--text-2);
  font-size: 12px;
}

.legal-confirmation {
  border-color: #d7e8fb;
}

.payment-methods {
  display: grid;
  gap: 12px;
}

.payment-method {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 17px;
  border: 1px solid var(--border-soft);
  border-radius: 9px;
  background: var(--surface-soft);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.payment-method:hover {
  border-color: #91caff;
}

.payment-method.selected {
  border-color: var(--primary);
  background: #f3f8ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, .08);
}

.payment-method.unavailable {
  opacity: .48;
  cursor: not-allowed;
}

.payment-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-method-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.payment-method.selected .payment-method-icon {
  background: var(--primary);
}

.payment-method-copy strong,
.payment-method-copy small {
  display: block;
}

.payment-method-copy strong {
  color: var(--navy);
  font-size: 13px;
}

.payment-method-copy small {
  margin-top: 4px;
  color: var(--text-2);
  font-size: 11.5px;
  line-height: 1.55;
}

.payment-method-state {
  padding: 5px 8px;
  border-radius: 99px;
  color: #237804;
  background: #edfbea;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.payment-method-hint {
  margin: 13px 0 0;
  color: var(--text-3);
  font-size: 11px;
}

.legal-checks {
  display: grid;
  gap: 16px;
}

.legal-checks .checkbox {
  padding: 13px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 7px;
  background: var(--surface-soft);
}

.summary-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}

.summary-heading h2 {
  margin: 4px 0 2px;
  font-size: 25px;
}

.summary-heading p {
  margin: 0;
  color: var(--text-2);
  font-size: 13px;
}

.opening-offer {
  display: grid;
  gap: 2px;
  margin: 18px 0 2px;
  padding: 14px 16px;
  border: 1px solid #b7eb8f;
  border-radius: 8px;
  color: #237804;
  background:
    linear-gradient(110deg, rgba(82, 196, 26, 0.08), transparent 65%),
    var(--success-soft);
}

.opening-offer span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.opening-offer strong {
  font-size: 17px;
}

.order-discount {
  color: #389e0d;
}

.order-line.total {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.summary-features {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 12px;
}

.summary-features li {
  position: relative;
  padding-left: 22px;
}

.summary-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

.summary-footnote {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-3);
  font-size: 10.5px;
  line-height: 1.5;
}

.order-lines {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.order-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-2);
  font-size: 13px;
}

.order-line.total {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.secure-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 16px;
  color: var(--text-3);
  font-size: 11px;
}

.secure-note svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--success);
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.download-layout {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 34px;
  align-items: start;
}

.download-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--primary);
}

.download-icon svg {
  width: 31px;
  height: 31px;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.release-notes {
  display: grid;
  gap: 10px;
}

.release-notes h3 {
  margin: 12px 0 4px;
  font-size: 15px;
}

.release-notes p,
.release-notes li {
  color: var(--text-2);
  font-size: 13px;
}

.release-notes ul {
  margin: 0;
  padding-left: 18px;
}

.success-page {
  display: grid;
  min-height: 100vh;
  padding: 100px 24px 48px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 15%, rgba(22, 119, 255, 0.18), transparent 28%),
    var(--bg);
}

.not-found-page {
  display: grid;
  min-height: 100vh;
  padding: 110px 24px 56px;
  place-items: center;
  background:
    linear-gradient(rgba(22, 119, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 24%, rgba(22, 119, 255, 0.14), transparent 28%),
    var(--bg);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.not-found-card {
  width: min(680px, 100%);
  padding: 52px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.not-found-code {
  display: block;
  margin-bottom: -12px;
  color: var(--primary-soft);
  font-size: clamp(92px, 18vw, 150px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.not-found-card h1 {
  margin: 14px 0 12px;
  font-size: clamp(32px, 6vw, 48px);
  letter-spacing: -0.04em;
}

.not-found-card p {
  max-width: 470px;
  margin: 0 auto 26px;
  color: var(--text-2);
}

.not-found-card .button-row {
  justify-content: center;
}

.success-card {
  width: min(620px, 100%);
  text-align: center;
}

.success-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  place-items: center;
  border: 1px solid #b7eb8f;
  border-radius: 50%;
  color: #389e0d;
  background: var(--success-soft);
  font-size: 34px;
}

.success-icon.pending {
  border-color: #ffe58f;
  color: #ad6800;
  background: #fffbe6;
  font-size: 25px;
}

.bank-transfer-panel {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid #b7d5ff;
  border-radius: 10px;
  background: #f3f8ff;
  text-align: left;
}

.bank-transfer-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d7e8fb;
}

.bank-transfer-heading span {
  color: var(--text-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.bank-transfer-heading strong {
  color: var(--navy);
  font-size: 22px;
}

.bank-transfer-panel dl {
  display: grid;
  gap: 0;
  margin: 14px 0;
}

.bank-transfer-panel dl div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(183, 213, 255, .55);
}

.bank-transfer-panel dt {
  color: var(--text-3);
  font-size: 11px;
}

.bank-transfer-panel dd {
  margin: 0;
  color: var(--navy);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.bank-transfer-panel p {
  margin: 15px 0 0;
  color: var(--text-2);
  font-size: 11px;
  line-height: 1.6;
}

.license-key {
  margin: 24px 0;
  padding: 18px;
  border: 1px dashed var(--primary-border);
  border-radius: 8px;
  background: var(--primary-soft);
  cursor: pointer;
}

.license-key small {
  display: block;
  margin-bottom: 6px;
  color: var(--text-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.license-key strong {
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: clamp(19px, 5vw, 28px);
  letter-spacing: 0.08em;
}

.invoice-downloads {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--surface-soft);
  text-align: left;
}

.invoice-downloads small {
  display: block;
  margin-bottom: 2px;
  color: var(--text-3);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.invoice-downloads strong {
  color: var(--navy);
  font-size: 16px;
}

.invoice-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.invoice-downloads p {
  margin: 0;
  color: var(--text-3);
  font-size: 11px;
}

@media (max-width: 520px) {
  .bank-transfer-panel dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .bank-transfer-panel dd {
    text-align: left;
  }
}

.legal {
  max-width: 820px;
}

.legal h2 {
  margin-top: 32px;
  font-size: 21px;
}

.legal p,
.legal li {
  color: var(--text-2);
}

.license-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}

.license-table th,
.license-table td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border, #DCE5EF);
  vertical-align: top;
}

.license-table th {
  color: var(--text-1, #001529);
  font-weight: 600;
  position: sticky;
  top: 0;
  background: #fff;
}

.license-table td {
  color: var(--text-2);
  word-break: break-word;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .feature-card:hover,
  .info-card:hover,
  .guide-card:hover,
  .req-card:hover {
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .pricing-layout,
  .checkout-wrap,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .app-window {
    max-width: 760px;
    transform: none;
  }

  .price-card,
  .checkout-summary {
    position: static;
    width: min(520px, 100%);
  }

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

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

@media (max-width: 820px) {
  body.nav-open {
    overflow: hidden;
  }

  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    padding: 0 16px;
    overflow: hidden;
    background: rgba(0, 21, 41, 0.98);
    transition: max-height 0.25s ease, padding 0.25s ease;
  }

  .site-nav.open {
    max-height: 460px;
    padding-top: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav .nav-buy {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    padding: 112px 0 68px;
  }

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

  .app-window {
    width: 100%;
    max-width: 720px;
    transform: none;
  }

  .split,
  .feature-row,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse > :first-child,
  .feature-row:nth-child(even) > :first-child {
    order: initial;
  }

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

  .docs-sidebar {
    position: static;
    display: flex;
    gap: 5px;
    max-height: none;
    overflow-x: auto;
    overflow-y: visible;
  }

  .docs-sidebar strong {
    display: none;
  }

  .docs-sidebar a {
    white-space: nowrap;
  }

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

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border-soft);
  }

  .steps {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 580px) {
  .brand-wordmark {
    width: 154px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 16px;
  }

  .app-topbar {
    padding-inline: 10px;
    font-size: 8px;
  }

  .capture-badge {
    display: none;
  }

  .hero-actions,
  .button-row {
    display: grid;
  }

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

  .hero-meta {
    display: grid;
    gap: 8px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    display: block;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .feature-row,
  .cta-panel,
  .form-card,
  .checkout-card,
  .download-card,
  .doc-section {
    padding: 22px;
  }

  .cta-panel {
    display: block;
  }

  .cta-panel .button-row {
    margin-top: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .payment-method {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .payment-method-state {
    grid-column: 2;
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }

  .video-placeholder {
    min-height: 280px;
    padding: 28px;
  }
}
