:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1f2933;
  background: #f0f2f5;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: 25px;
  background: #f0f2f5;
  font-size: 18px;
}

a { color: inherit; }

.sales-page,
.legal {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 42px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
  background: #fff;
}

.back-link {
  margin-bottom: 30px;
  display: inline-flex;
  align-items: center;
  color: #506172;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
}

.back-link:hover { color: #0d6efd; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 55px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
  padding: 12px 0;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 11px;
  border-radius: 8px;
  color: #004481;
  background: #e8f4fd;
  font-size: .78rem;
  font-weight: 700;
}

h1 {
  max-width: 820px;
  margin: 0;
  color: #1a1a1a;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.lead {
  max-width: 780px;
  margin: 24px 0;
  color: #506172;
  font-size: 1.08rem;
  line-height: 1.55;
}

.feature-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  list-style: none;
  color: #444;
  font-size: .9rem;
}

.feature-list li {
  position: relative;
  padding-left: 25px;
  line-height: 1.4;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #29845c;
  font-weight: 800;
}

.purchase-card {
  padding: 28px;
  border: 1px solid #ffe0b2;
  border-radius: 10px;
  background: #fffaf4;
}

.license-label {
  width: fit-content;
  margin: 0;
  color: #29845c;
  font-size: .72rem;
  font-weight: 700;
}

.purchase-card h2,
.steps h2,
.compatibility h2,
.legal h2 {
  margin: 0 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
  color: #1a1a1a;
  font-size: 1.25rem;
}

.purchase-card h2 { margin-top: 12px; }

.price {
  margin: 20px 0 8px;
  color: #1a1a1a;
  font-size: 2.5rem;
  font-weight: 750;
  letter-spacing: -.03em;
}

.purchase-card > p {
  color: #666;
  font-size: .88rem;
  line-height: 1.5;
}

.purchase-button {
  min-height: 50px;
  margin-top: 22px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: #d84315;
  text-decoration: none;
  font-weight: 700;
}

.purchase-button:hover { background: #bf360c; }

.purchase-note {
  margin: 10px 0 0;
  color: #888 !important;
  font-size: .72rem !important;
}

.after-payment {
  margin-top: 20px;
  padding: 14px;
  display: grid;
  gap: 5px;
  border-left: 3px solid #0d6efd;
  color: #506172;
  background: #eef6ff;
  font-size: .78rem;
  line-height: 1.45;
}

.after-payment strong { color: #004481; }

.secondary-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.secondary-actions a {
  min-height: 44px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #506172;
  text-align: center;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 600;
}

.secondary-actions a:hover {
  border-color: #d84315;
  color: #7b3924;
  background: #fff8f5;
}

.steps,
.compatibility {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 2px solid #eee;
}

.steps ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: steps;
  list-style: none;
}

.steps li {
  min-width: 0;
  padding: 4px 22px;
  border-left: 1px solid #ddd;
  counter-increment: steps;
}

.steps li:first-child { padding-left: 0; border-left: 0; }
.steps li:last-child { padding-right: 0; }

.steps li::before {
  content: counter(steps);
  width: 26px;
  height: 26px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0d6efd;
  font-size: .7rem;
  font-weight: 700;
}

.steps b,
.steps span { display: block; }
.steps b { color: #333; }

.steps span {
  margin-top: 5px;
  color: #667085;
  font-size: .78rem;
  line-height: 1.45;
}

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

.compatibility-grid p {
  margin: 0;
  color: #667085;
  font-size: .82rem;
  line-height: 1.5;
}

.compatibility-grid b { color: #444; }

footer {
  margin-top: 26px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid #eee;
  color: #667085;
  font-size: .75rem;
}

footer a { color: #506172; text-underline-offset: 3px; }
footer a:first-of-type { margin-left: auto; }

.legal {
  max-width: 900px;
  min-height: calc(100vh - 50px);
  color: #506172;
  line-height: 1.65;
}

.legal h1 {
  margin: 0 0 30px;
  color: #1a1a1a;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
}

.legal h2 { margin-top: 32px; }
.legal p { font-size: .92rem; }
.legal a { color: #0d6efd; }

@media (max-width: 1000px) {
  body { padding: 12px; }
  .sales-page, .legal { max-width: 780px; padding: 30px; }
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { padding: 0; }
  .purchase-card { max-width: 560px; }
  .steps ol, .compatibility-grid { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 560px) {
  body { padding: 8px; font-size: 17px; }
  .sales-page, .legal { padding: 20px 16px; border-radius: 11px; }
  .back-link { margin-bottom: 24px; }
  h1 { font-size: 2.25rem; }
  .lead { margin: 18px 0; font-size: 1rem; }
  .feature-list, .secondary-actions, .steps ol, .compatibility-grid { grid-template-columns: 1fr; }
  .purchase-card { padding: 20px 16px; }
  .steps li, .steps li:nth-child(3) { padding: 16px 0; border-top: 1px solid #eee; border-left: 0; }
  .steps li:first-child { padding-top: 0; border-top: 0; }
  .compatibility-grid { gap: 14px; }
  footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  footer a:first-of-type { margin-left: 0; }
  .legal { min-height: calc(100vh - 16px); }
}
