:root {
  --ink: #17211f;
  --muted: #63716e;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dfe6df;
  --teal: #0f766e;
  --teal-dark: #0c4f4a;
  --coral: #d85f45;
  --gold: #c58b24;
  --blue: #315f9d;
  --shadow: 0 18px 60px rgba(23, 33, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(223, 230, 223, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.header-action,
.button.primary {
  background: var(--teal);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.button.danger {
  background: #fff5f3;
  color: #9f2d20;
  border-color: #efb5ad;
}

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

.notice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  padding: 12px clamp(18px, 4vw, 56px);
  background: #17312e;
  color: #ecf6f2;
  font-size: 0.95rem;
}

.notice span {
  color: #cfe5de;
}

.campaign-notice {
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid #efd9aa;
  background: #fff8e8;
  color: #62440f;
  font-weight: 800;
}

.section,
.section-band {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section {
  max-width: 1220px;
  margin: 0 auto;
}

.section-band {
  width: 100%;
}

.section.section-band {
  max-width: none;
  margin: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 112px);
  padding-top: clamp(44px, 6vw, 78px);
  padding-bottom: clamp(36px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.09), transparent 34%),
    linear-gradient(270deg, rgba(216, 95, 69, 0.1), transparent 42%);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-size: 6rem;
}

h2 {
  font-size: 3.4rem;
}

h3 {
  font-size: 1.35rem;
}

.hero-lede {
  max-width: 660px;
  margin: 22px 0 0;
  color: #374541;
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 34px 0 0;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid rgba(23, 33, 31, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-metrics dt {
  font-size: 2.1rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  width: min(720px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 26px 48px rgba(23, 33, 31, 0.18));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 620px;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.price-card,
.magi-panel,
.revenue-panel,
.lead-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 240px;
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 8px;
  background: #e8f3ee;
  color: var(--teal-dark);
  font-weight: 900;
}

.feature-card p,
.price-card li,
.faq-list p {
  color: var(--muted);
}

.persona-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.persona-tool {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 0.86fr);
  gap: 16px;
}

.persona-form,
.persona-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.persona-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.persona-form label {
  display: grid;
  gap: 8px;
  color: #3f4f4b;
  font-weight: 800;
}

.persona-preview {
  padding: clamp(22px, 4vw, 34px);
}

.persona-preview blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.35;
}

.persona-preview p:not(.panel-kicker, .form-status) {
  color: var(--muted);
}

.campaign-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.campaign-tool {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(280px, 1fr);
  gap: 16px;
}

.campaign-form,
.campaign-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.campaign-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.campaign-form label {
  display: grid;
  gap: 8px;
  color: #3f4f4b;
  font-weight: 800;
}

.campaign-preview {
  padding: clamp(22px, 4vw, 34px);
}

.campaign-preview code {
  display: block;
  padding: 12px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf6;
  color: var(--teal-dark);
  font-weight: 900;
}

.campaign-preview p:not(.panel-kicker, .form-status) {
  color: var(--muted);
}

.admin-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.admin-tool {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 0.8fr);
  gap: 16px;
}

.admin-panel,
.admin-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.admin-panel {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.admin-panel label {
  display: grid;
  gap: 8px;
  color: #3f4f4b;
  font-weight: 800;
}

.admin-summary {
  padding: clamp(22px, 4vw, 34px);
}

.admin-summary dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.admin-summary div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.admin-summary dt {
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-summary dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 900;
}

.calculator-layout,
.magi-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  background: #edf4ef;
}

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

.calculator label,
.lead-form label {
  display: grid;
  gap: 8px;
  color: #3f4f4b;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd8d2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input[type="text"],
select,
textarea {
  min-height: 46px;
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

input[type="range"] {
  accent-color: var(--teal);
}

output {
  color: var(--teal-dark);
  font-size: 1.05rem;
  font-weight: 900;
}

.revenue-panel {
  padding: clamp(24px, 4vw, 38px);
}

.panel-kicker {
  margin: 0 0 6px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.revenue-panel strong {
  display: block;
  font-size: 4.8rem;
  line-height: 1;
}

.revenue-panel > span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.panel-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.panel-split div {
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.panel-split span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-split b {
  font-size: 1.35rem;
}

.growth-advice {
  margin: 24px 0 0;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
  color: #48534d;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(15, 118, 110, 0.45);
  background: #f3fbf7;
}

.plan-name {
  margin: 0;
  color: var(--teal-dark);
  font-weight: 900;
}

.price {
  margin: 12px 0 0;
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
}

.annual {
  margin: 10px 0 0;
  color: var(--coral);
  font-weight: 900;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 26px 0 28px;
  padding-left: 20px;
}

.price-card .button {
  margin-top: auto;
}

.addon-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #efd9aa;
  border-radius: 8px;
  background: #fff8e8;
  color: #62440f;
}

.checkout-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.checkout-tool {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 0.8fr);
  gap: 16px;
}

.order-form,
.order-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.order-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.order-form label {
  display: grid;
  gap: 8px;
  color: #3f4f4b;
  font-weight: 800;
}

.checkbox-label {
  grid-template-columns: 22px 1fr;
  align-items: center;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.checkbox-label a {
  color: var(--teal-dark);
  font-weight: 900;
}

.order-summary {
  padding: clamp(22px, 4vw, 34px);
}

.order-summary strong {
  display: block;
  font-size: 4rem;
  line-height: 1;
}

.order-summary p:not(.panel-kicker, .form-status) {
  color: var(--muted);
}

.magi-layout {
  grid-template-columns: minmax(240px, 0.55fr) minmax(320px, 1.45fr);
}

.magi-tabs {
  display: grid;
  gap: 10px;
}

.magi-tab {
  min-height: 52px;
  border: 1px solid #cbd8d2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.magi-tab.active {
  background: var(--ink);
  color: #fff;
}

.magi-panel {
  padding: clamp(24px, 4vw, 38px);
}

.magi-panel h3 {
  font-size: 2.4rem;
}

.magi-panel p:not(.panel-kicker) {
  color: var(--muted);
}

.magi-panel ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.ops-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.ops-board {
  display: grid;
  gap: 16px;
}

.ops-progress,
.task-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.ops-progress {
  padding: clamp(22px, 4vw, 34px);
}

.ops-command-center {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf8;
  box-shadow: var(--shadow);
}

.ops-command-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.ops-command-head h3 {
  font-size: 1.6rem;
}

.ops-command-head code {
  max-width: 42%;
  padding: 8px 10px;
  overflow-wrap: anywhere;
  border: 1px solid #cdd8d2;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 900;
}

.ops-move-detail {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.ops-gate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ops-gate-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ops-gate-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.ops-gate-grid b {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1.05;
}

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

.ops-command-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ops-command-text {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.ops-command-text span {
  color: var(--teal-dark);
  font-weight: 900;
}

.ops-command-text code {
  overflow-wrap: anywhere;
  color: #3f4f4b;
  font-size: 0.9rem;
}

.ops-progress strong {
  display: block;
  font-size: 3.6rem;
  line-height: 1;
}

.progress-track {
  height: 12px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce8e2;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transition: width 0.18s ease;
}

.server-summary {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.task-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-list li + li {
  border-top: 1px solid var(--line);
}

.task-list label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  color: #3f4f4b;
  font-weight: 800;
}

.task-list input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--teal);
}

.conversion-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.form-actions,
.order-actions,
.campaign-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-lead-update,
.admin-order-update {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.7fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.admin-lead-update .wide,
.admin-lead-update button,
.admin-order-update .wide,
.admin-order-update button {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 900;
}

.lead-cash-next {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #efd9aa;
  border-radius: 8px;
  background: #fff8e8;
}

.lead-cash-next strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.lead-cash-next p:not(.panel-kicker) {
  margin: 0;
  color: #62440f;
  font-weight: 800;
}

.lead-cash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-section .section-heading {
  margin-bottom: 24px;
}

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

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin-bottom: 0;
}

.legal-page {
  display: grid;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.legal-page h1 {
  max-width: 760px;
}

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

.legal-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: clamp(20px, 3vw, 30px);
}

.legal-grid h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.legal-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .persona-section,
  .persona-tool,
  .campaign-section,
  .campaign-tool,
  .admin-section,
  .admin-tool,
  .calculator-layout,
  .magi-layout,
  .conversion-section,
  .checkout-section,
  .ops-section,
  .checkout-tool {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 680px) {
  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .header-action {
    width: 100%;
  }

  .hero-actions,
  .form-actions,
  .order-actions,
  .campaign-actions,
  .admin-actions,
  .hero-metrics,
  .calculator,
  .pricing-grid,
  .feature-grid,
  .legal-grid,
  .panel-split {
    grid-template-columns: 1fr;
  }

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

  .form-actions .button {
    width: 100%;
  }

  .order-actions .button {
    width: 100%;
  }

  .campaign-actions .button {
    width: 100%;
  }

  .admin-actions .button {
    width: 100%;
  }

  .lead-cash-actions .button {
    width: 100%;
  }

  .admin-lead-update,
  .admin-order-update {
    grid-template-columns: 1fr;
  }

  .ops-command-head,
  .ops-command-row {
    grid-template-columns: 1fr;
  }

  .ops-command-head {
    display: grid;
  }

  .ops-command-head code {
    max-width: none;
  }

  .ops-gate-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    display: grid;
  }

  .price-card {
    min-height: auto;
  }

  .revenue-panel strong,
  .order-summary strong,
  .ops-progress strong {
    font-size: 3rem;
  }

  .price {
    font-size: 2.8rem;
  }

  .magi-panel h3,
  .persona-preview blockquote {
    font-size: 1.7rem;
  }

  .notice {
    font-size: 0.9rem;
  }
}
