:root {
  --paper: #f7f5ee;
  --paper-strong: #fffdf8;
  --ink: #17252d;
  --muted: #5d6b71;
  --line: rgba(23, 37, 45, .14);
  --teal: #0f766e;
  --teal-dark: #0a5d57;
  --coral: #e05b3f;
  --yellow: #f3c94f;
  --blue: #3a78d6;
  --lime: #9cbf4a;
  --shadow: 0 22px 70px rgba(26, 42, 47, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(58, 120, 214, .35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  background: rgba(247, 245, 238, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 10px);
  gap: 2px;
  transform: rotate(-5deg);
}
.brand-mark i { width: 10px; height: 10px; border-radius: 2px; background: var(--coral); }
.brand-mark i:nth-child(2) { background: var(--blue); transform: translateY(2px); }
.brand-mark i:nth-child(3) { background: var(--yellow); transform: translateX(2px); }
.brand-mark i:nth-child(4) { background: var(--teal); }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  color: #3f4c52;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.site-nav a:hover { color: var(--coral); }
.nav-cta {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 8px 15px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.nav-cta:hover { background: var(--teal-dark); border-color: var(--teal-dark); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(480px, 1.14fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  min-height: calc(100vh - 72px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 24px 84px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  right: 0;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 37, 45, .08);
  transform: rotate(24deg);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
}
.eyebrow span { width: 24px; height: 3px; background: currentColor; }
.hero h1 {
  margin: 0;
  font-size: clamp(54px, 6vw, 92px);
  white-space: nowrap;
  line-height: .93;
  letter-spacing: -.055em;
  font-weight: 900;
}
.hero-lead {
  max-width: 580px;
  margin: 25px 0 0;
  color: #45555c;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.7;
}
.hero-actions, .closing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(224, 91, 63, .22); }
.btn-primary:hover { background: #c94b32; }
.btn-secondary { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--teal); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--ink); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.hero-notes span::before { content: "✓"; color: var(--teal); font-weight: 900; margin-right: 6px; }

.hero-stage { position: relative; min-width: 0; }
.stage-frame {
  position: relative;
  z-index: 2;
  background: #e8e4da;
  border: 1px solid rgba(23, 37, 45, .18);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow);
  transform: rotate(.8deg);
}
.stage-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  background: #dce4e5;
}
.stage-caption {
  position: absolute;
  right: -18px;
  bottom: -24px;
  display: grid;
  gap: 1px;
  min-width: 175px;
  padding: 13px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 7px;
  box-shadow: 0 14px 34px rgba(23, 37, 45, .24);
}
.stage-caption b { font-size: 14px; }
.stage-caption span { color: #b8c5c8; font-size: 12px; }
.tile { position: absolute; width: 72px; aspect-ratio: 1; border-radius: 5px; opacity: .92; z-index: 3; }
.tile-coral { top: -28px; right: -22px; background: var(--coral); transform: rotate(16deg); }
.tile-blue { left: -28px; bottom: 62px; background: var(--blue); transform: rotate(-15deg); }
.tile-yellow { right: 48px; top: -34px; width: 46px; background: var(--yellow); transform: rotate(32deg); }

.proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  overflow: hidden;
  padding: 18px 20px;
  background: var(--ink);
  color: #fff;
}
.proof-strip p { margin: 0; font-size: 13px; font-weight: 750; letter-spacing: .1em; white-space: nowrap; }
.proof-strip span { width: 6px; height: 6px; background: var(--yellow); transform: rotate(45deg); }

.section { max-width: 1240px; margin: 0 auto; padding: 108px 24px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px 90px; align-items: end; margin-bottom: 46px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -14px; }
.section h2, .pricing-head h2, .faq-heading h2, .closing h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.13;
  letter-spacing: -.035em;
}
.section-heading > p:last-child, .pricing-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #ece8dd;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}
.feature h3 { margin: 42px 0 8px; font-size: 25px; line-height: 1.15; }
.feature p { max-width: 460px; margin: 0; color: #536269; font-size: 15px; }
.feature-index { color: var(--coral); font: 800 12px/1 Consolas, monospace; letter-spacing: .12em; }
.feature-visual { position: absolute; right: 24px; bottom: 22px; width: 50%; height: 48%; overflow: hidden; border-radius: 6px; background: #e8eef1; box-shadow: 0 12px 28px rgba(23, 37, 45, .13); }
.feature-video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.feature-inverse { background: var(--ink); color: #fff; }
.feature-inverse p { color: #b6c1c4; }
.feature-inverse .feature-index { color: var(--yellow); }
.feature-export { display: grid; place-items: center; border: 1px dashed rgba(255, 255, 255, .28); }
.feature-export div { display: flex; gap: 4px; align-items: flex-end; }
.feature-export span { display: block; width: 38px; height: 38px; background: var(--blue); }
.feature-export span:nth-child(2) { height: 58px; background: var(--coral); }
.feature-export span:nth-child(3) { height: 78px; background: var(--yellow); }
.feature-export b { font: 700 12px/1 Consolas, monospace; color: #b9c4c6; }

.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  border-top: 1px solid var(--line);
}
.process-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.process-copy h2 { margin-bottom: 30px; }
.process ol { margin: 0 0 30px; padding: 0; list-style: none; }
.process li { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 17px 0; border-top: 1px solid var(--line); }
.process li:last-child { border-bottom: 1px solid var(--line); }
.process li b { font-size: 17px; }
.process li span { color: var(--muted); font-size: 15px; }

.pricing { padding-top: 110px; padding-bottom: 110px; }
.pricing-head { display: grid; grid-template-columns: 1fr 430px; gap: 70px; align-items: end; margin-bottom: 38px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 30px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.price-card.is-featured { background: var(--ink); color: #fff; transform: translateY(-10px); box-shadow: var(--shadow); }
.featured-label {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
  padding: 4px 8px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 850;
}
.plan-name { margin: 0; color: var(--coral); font-size: 14px; font-weight: 850; }
.is-featured .plan-name { color: var(--yellow); }
.price { display: flex; align-items: baseline; gap: 3px; margin: 20px 0 2px; font-size: 58px; line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.price span { font-size: 22px; font-weight: 750; }
.price small { margin-left: 6px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.is-featured .price small { color: #aab7ba; }
.plan-note { min-height: 28px; margin: 8px 0 28px; color: var(--muted); font-size: 14px; }
.is-featured .plan-note { color: #b8c3c5; }
.price-card ul { display: grid; gap: 13px; margin: 0 0 30px; padding: 0; list-style: none; color: #46545a; font-size: 14px; }
.is-featured ul { color: #dae1e2; }
.price-card li::before { content: "＋"; display: inline-block; width: 21px; color: var(--teal); font-weight: 900; }
.is-featured li::before { color: var(--yellow); }
.btn-plan { width: 100%; margin-top: auto; background: #e8ece8; color: var(--ink); border-color: transparent; }
.btn-plan:hover { background: var(--coral); color: #fff; }
.is-featured .btn-plan { background: var(--yellow); color: var(--ink); }
.is-featured .btn-plan:hover { background: #fff; }
.purchase-note { margin: 24px 0 0; color: var(--muted); font-size: 13px; }

.activate {
  display: grid;
  grid-template-columns: 1fr minmax(360px, .7fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
  background: #e9eee9;
  max-width: none;
  padding-left: max(24px, calc((100vw - 1240px) / 2));
  padding-right: max(24px, calc((100vw - 1240px) / 2));
}
.activate-copy > p:last-of-type { max-width: 610px; color: var(--muted); }
.license-state {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
  border-radius: 6px;
  color: #536269;
  font-size: 13px;
  font-weight: 700;
}
.license-state[data-state="active"] { color: var(--teal-dark); border-color: rgba(15, 118, 110, .35); background: rgba(15, 118, 110, .08); }
.activate-form { padding: 28px; background: var(--paper-strong); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 50px rgba(23, 37, 45, .09); }
.activate-form label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 750; }
.activate-form input {
  width: 100%;
  border: 1px solid #cbd5d1;
  border-radius: 6px;
  background: #f7faf7;
  padding: 12px 13px;
  color: var(--ink);
  font: 700 14px/1.4 Consolas, Menlo, monospace;
  text-transform: uppercase;
  outline: none;
}
.activate-form input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, .12); }
.activate-form .btn { width: 100%; margin-top: 12px; }
.activate-form p { margin: 12px 0 0; color: var(--muted); font-size: 12px; }

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 19px 40px 19px 0; font-size: 17px; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "＋"; position: absolute; right: 4px; top: 16px; color: var(--coral); font-size: 22px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 720px; margin: 0 0 20px; color: var(--muted); font-size: 14px; }

.closing {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 106px 24px 118px;
}
.closing h2 { font-size: clamp(38px, 4.6vw, 66px); }
.closing-actions { margin: 0 0 7px; justify-content: flex-end; }
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
  padding: 26px max(24px, calc((100vw - 1240px) / 2));
  background: var(--ink);
  color: #aebbbd;
  font-size: 12px;
}
.site-footer .brand { color: #fff; font-size: 15px; }
.site-footer p { margin: 0; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  max-width: min(92vw, 540px);
  transform: translate(-50%, 18px);
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .24);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .site-nav { display: none; }
  .nav-cta { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 60px; }
  .hero-stage { width: min(760px, 100%); margin: 0 auto; }
  .section-heading, .pricing-head, .faq { grid-template-columns: 1fr; gap: 22px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 360px; }
  .process { grid-template-columns: 1fr; }
  .process-media { order: 2; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { min-height: auto; }
  .price-card.is-featured { transform: none; }
  .activate { grid-template-columns: 1fr; }
  .closing { display: grid; align-items: start; }
  .closing-actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .site-header { min-height: 62px; padding-inline: 16px; }
  .brand { font-size: 16px; }
  .nav-cta { padding: 7px 11px; font-size: 12px; }
  .hero { padding: 44px 16px 68px; }
  .hero h1 { font-size: 52px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .tile-coral { right: -7px; width: 52px; }
  .tile-blue { left: -8px; width: 48px; }
  .tile-yellow { right: 30px; width: 34px; }
  .stage-caption { right: 8px; bottom: -25px; min-width: 150px; }
  .proof-strip { justify-content: flex-start; gap: 15px; overflow-x: auto; }
  .section { padding: 78px 16px; }
  .section h2, .pricing-head h2, .faq-heading h2 { font-size: 36px; }
  .feature { min-height: 420px; padding: 24px; }
  .feature-visual { width: 62%; height: 40%; right: 20px; }
  .process li { grid-template-columns: 72px 1fr; gap: 10px; }
  .pricing { padding-top: 80px; padding-bottom: 80px; }
  .price { font-size: 52px; }
  .activate { padding: 74px 16px; }
  .activate-form { padding: 22px; }
  .faq { gap: 26px; padding-bottom: 86px; }
  .closing { grid-template-columns: 1fr; padding: 84px 16px 92px; gap: 30px; }
  .closing-actions .btn { width: 100%; }
  .site-footer { grid-template-columns: 1fr; gap: 10px; padding: 28px 16px; }
}
