:root {
  --spm-ink: #172430;
  --spm-muted: #5f6f7d;
  --spm-bg: #f4f7f8;
  --spm-surface: #ffffff;
  --spm-line: #dce5eb;
  --spm-teal: #20aa98;
  --spm-teal-dark: #087b70;
  --spm-coral: #ff453d;
  --spm-yellow: #f3b63f;
  --spm-navy: #0d2a35;
  --spm-shadow: 0 10px 28px rgba(23, 36, 48, .09);
}

* { box-sizing: border-box; }
html { background: var(--spm-bg); }
body {
  margin: 0;
  background: var(--spm-bg);
  color: var(--spm-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.spm-wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.spm-public-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--spm-line);
  box-shadow: 0 3px 14px rgba(23, 36, 48, .05);
}
.spm-public-header-inner { min-height: 70px; display: flex; align-items: center; gap: 18px; }
.spm-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--spm-ink); font-weight: 900; }
.spm-brand img { width: auto; height: 54px; max-width: 220px; object-fit: contain; }
.spm-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: var(--spm-teal); color: #073c36; }
.spm-brand strong { font-size: 18px; white-space: nowrap; }
.spm-public-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.spm-public-nav a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 13px; border-radius: 6px; color: var(--spm-ink); font-weight: 800; }
.spm-public-nav a:hover { background: #edf6f5; color: var(--spm-teal-dark); }
.spm-public-nav .publish { background: var(--spm-coral); color: #fff; }
.spm-public-nav .publish:hover { background: #da312b; color: #fff; }
.spm-menu-button { display: none; }

.spm-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--spm-navy); color: #fff; }
.spm-hero.has-image { background-position: center; background-size: cover; }
.spm-hero.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 31, 41, .86); }
.spm-hero-layout { min-height: 520px; padding: 52px 0 68px; display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 48px; align-items: center; }
.spm-hero-copy { min-width: 0; }
.spm-kicker { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; color: #d7faf5; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.spm-kicker i { color: #6de0d2; }
.spm-hero h1 { max-width: 720px; margin: 18px 0 14px; color: #fff; font-size: clamp(42px, 5.2vw, 66px); line-height: 1.02; font-weight: 900; letter-spacing: 0; }
.spm-hero-copy > p { max-width: 670px; margin: 0; color: #dce8eb; font-size: 18px; }
.spm-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.spm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 7px; color: #fff; font-weight: 900; }
.spm-btn.primary { border-color: var(--spm-coral); background: var(--spm-coral); color: #fff; box-shadow: 0 9px 22px rgba(255, 69, 61, .22); }
.spm-btn.primary:hover { background: #dc332d; border-color: #dc332d; }
.spm-btn.secondary { background: #fff; border-color: #fff; color: var(--spm-ink); }
.spm-btn.secondary:hover { color: var(--spm-teal-dark); }
.spm-trust-note { max-width: 720px; margin-top: 18px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; align-items: center; color: #dce8eb; font-size: 14px; }
.spm-trust-note i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(98, 224, 207, .17); color: #79e2d4; }
.spm-trust-note strong { color: #fff; }

.spm-app-preview { min-width: 0; padding: 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; background: rgba(255, 255, 255, .1); box-shadow: 0 22px 50px rgba(0, 0, 0, .2); }
.spm-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #fff; font-size: 13px; font-weight: 900; }
.spm-preview-heading > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.spm-preview-status { padding: 5px 8px; border-radius: 999px; background: #dff7f2; color: #0a7066; font-size: 11px; }
.spm-preview-feature { margin-top: 15px; padding: 19px; border-radius: 8px; background: var(--spm-teal); color: #062f2b; }
.spm-preview-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; background: #fff4cf; color: #755200; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.spm-preview-feature strong { display: block; margin-top: 17px; color: #072f2b; font-size: 23px; line-height: 1.12; }
.spm-preview-feature small { display: block; margin-top: 6px; color: #164c46; font-size: 13px; }
.spm-preview-categories { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.spm-preview-categories span { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px; border-radius: 7px; background: #fff; color: var(--spm-ink); font-size: 13px; font-weight: 900; }
.spm-preview-categories i { width: 18px; color: var(--spm-teal-dark); text-align: center; }

.spm-proof { position: relative; z-index: 3; margin-top: -30px; }
.spm-proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--spm-line); border-radius: 8px; background: #fff; box-shadow: var(--spm-shadow); overflow: hidden; }
.spm-stat { min-width: 0; min-height: 104px; padding: 18px 20px; display: flex; align-items: center; gap: 13px; border-right: 1px solid var(--spm-line); }
.spm-stat:last-child { border-right: 0; }
.spm-stat > i { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: #e9f7f4; color: var(--spm-teal-dark); font-size: 17px; }
.spm-stat span { min-width: 0; color: var(--spm-muted); font-size: 12px; font-weight: 800; }
.spm-stat strong { display: block; margin-bottom: 3px; color: var(--spm-ink); font-size: 27px; line-height: 1; }

.spm-section { padding: 68px 0; }
.spm-section-heading { max-width: 680px; margin-bottom: 28px; }
.spm-section-heading > span, .spm-final-cta-inner > div:first-child > span { display: block; margin-bottom: 7px; color: var(--spm-teal-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.spm-section-heading h2, .spm-final-cta h2 { margin: 0; color: var(--spm-ink); font-size: 34px; line-height: 1.12; letter-spacing: 0; }
.spm-section-heading p { margin: 9px 0 0; color: var(--spm-muted); }
.spm-section-heading.compact { margin-bottom: 22px; }

.spm-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.spm-step { min-width: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; padding: 20px; border-top: 3px solid var(--spm-teal); background: #fff; box-shadow: 0 5px 18px rgba(23, 36, 48, .06); }
.spm-step:nth-child(2) { border-color: var(--spm-coral); }
.spm-step:nth-child(3) { border-color: var(--spm-yellow); }
.spm-step-number { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e8f7f4; color: var(--spm-teal-dark); font-size: 19px; font-weight: 900; }
.spm-step:nth-child(2) .spm-step-number { background: #fff0ef; color: #bc302b; }
.spm-step:nth-child(3) .spm-step-number { background: #fff6dc; color: #89610b; }
.spm-step strong { display: block; color: var(--spm-ink); font-size: 17px; }
.spm-step p { margin: 6px 0 0; color: var(--spm-muted); font-size: 14px; }

.spm-benefits { background: #fff; }
.spm-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.spm-benefit { min-width: 0; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 13px; padding: 19px; border: 1px solid var(--spm-line); border-radius: 8px; background: var(--spm-bg); }
.spm-benefit > i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px; background: #dff4f0; color: var(--spm-teal-dark); font-size: 18px; }
.spm-benefit strong { display: block; color: var(--spm-ink); font-size: 16px; line-height: 1.25; }
.spm-benefit p { margin: 7px 0 0; color: var(--spm-muted); font-size: 13px; }

.spm-faq-section { background: #edf3f5; }
.spm-faq-layout { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.spm-faq { display: grid; gap: 9px; }
.spm-faq-item { border: 1px solid var(--spm-line); border-radius: 8px; background: #fff; overflow: hidden; }
.spm-faq-item summary { min-height: 58px; padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--spm-ink); font-weight: 900; cursor: pointer; list-style: none; }
.spm-faq-item summary::-webkit-details-marker { display: none; }
.spm-faq-item summary i { color: var(--spm-teal-dark); transition: transform .18s ease; }
.spm-faq-item[open] summary i { transform: rotate(45deg); }
.spm-faq-item p { margin: 0; padding: 0 17px 17px; color: var(--spm-muted); }

.spm-final-cta { padding: 38px 0; background: var(--spm-navy); color: #fff; }
.spm-final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.spm-final-cta-inner > div:first-child > span { color: #79e2d4; }
.spm-final-cta h2 { max-width: 670px; color: #fff; font-size: 29px; }
.spm-final-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.spm-footer { padding: 25px 0 30px; border-top: 1px solid var(--spm-line); background: #fff; color: var(--spm-muted); }
.spm-footer .spm-wrap { display: flex; align-items: center; gap: 15px; }
.spm-footer strong { color: var(--spm-ink); }
.spm-footer small { margin-left: auto; }
.spm-bottom-nav { display: none; }

@media (max-width: 900px) {
  .spm-wrap { width: calc(100% - 24px); }
  .spm-public-header-inner { min-height: 62px; justify-content: center; }
  .spm-brand img { height: 43px; max-width: 170px; }
  .spm-brand-mark { width: 38px; height: 38px; }
  .spm-brand strong { font-size: 14px; }
  .spm-menu-button { position: absolute; left: 12px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--spm-line); border-radius: 8px; background: #fff; color: var(--spm-ink); font-size: 17px; }
  .spm-public-nav { position: fixed; top: 69px; left: 10px; right: 10px; z-index: 120; display: none; max-height: calc(100vh - 92px - env(safe-area-inset-bottom)); margin: 0; padding: 8px; overflow: auto; border: 1px solid var(--spm-line); border-radius: 8px; background: #fff; box-shadow: 0 16px 38px rgba(23, 36, 48, .22); flex-direction: column; align-items: stretch; }
  .spm-public-nav.open { display: flex; }
  .spm-public-nav a { width: 100%; justify-content: flex-start; min-height: 46px; }
  .spm-hero-layout { min-height: 0; padding: 38px 0 54px; grid-template-columns: 1fr; gap: 26px; }
  .spm-hero h1 { font-size: 42px; }
  .spm-app-preview { max-width: 620px; }
  .spm-proof-grid { grid-template-columns: 1fr 1fr; }
  .spm-stat:nth-child(2) { border-right: 0; }
  .spm-stat:nth-child(-n+2) { border-bottom: 1px solid var(--spm-line); }
  .spm-steps, .spm-benefit-grid { grid-template-columns: 1fr; }
  .spm-faq-layout { grid-template-columns: 1fr; gap: 18px; }
  .spm-final-cta-inner { align-items: flex-start; flex-direction: column; }
  .spm-section { padding: 52px 0; }
  .spm-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(66px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--spm-line); background: #fff; box-shadow: 0 -6px 18px rgba(23, 36, 48, .1); }
  .spm-bottom-nav a { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; color: #4d5d6b; font-size: 10px; font-weight: 800; }
  .spm-bottom-nav i { font-size: 16px; }
  .spm-bottom-nav .active { color: var(--spm-teal-dark); }
  .spm-bottom-nav .publish { color: var(--spm-coral); }
  .spm-bottom-nav .publish i { display: grid; place-items: center; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; background: var(--spm-coral); color: #fff; font-size: 18px; box-shadow: 0 5px 12px rgba(255, 69, 61, .25); }
  .spm-footer { padding-bottom: 94px; }
}

@media (max-width: 560px) {
  body { font-size: 14px; }
  .spm-wrap { width: calc(100% - 20px); }
  .spm-hero-layout { padding: 30px 0 48px; gap: 20px; }
  .spm-kicker { max-width: 100%; min-height: 26px; font-size: 10px; white-space: normal; }
  .spm-hero h1 { margin-top: 14px; font-size: 34px; }
  .spm-hero-copy > p { font-size: 15px; }
  .spm-hero-actions { display: grid; margin-top: 20px; }
  .spm-hero-actions .spm-btn { width: 100%; }
  .spm-trust-note { align-items: start; font-size: 13px; }
  .spm-app-preview { padding: 9px; }
  .spm-preview-heading, .spm-preview-categories { display: none; }
  .spm-preview-feature { margin: 0; padding: 14px 15px; }
  .spm-preview-feature strong { margin-top: 10px; font-size: 19px; }
  .spm-proof { margin-top: -24px; }
  .spm-stat { min-height: 78px; padding: 12px; gap: 9px; }
  .spm-stat > i { flex-basis: 34px; width: 34px; height: 34px; font-size: 14px; }
  .spm-stat strong { font-size: 22px; }
  .spm-stat span { font-size: 10px; }
  .spm-section { padding: 42px 0; }
  .spm-section-heading { margin-bottom: 20px; }
  .spm-section-heading h2, .spm-final-cta h2 { font-size: 26px; }
  .spm-step { padding: 16px; grid-template-columns: 38px minmax(0, 1fr); }
  .spm-step-number { width: 38px; height: 38px; }
  .spm-benefit { padding: 15px; grid-template-columns: 40px minmax(0, 1fr); }
  .spm-benefit > i { width: 40px; height: 40px; }
  .spm-final-actions { width: 100%; display: grid; }
  .spm-final-actions .spm-btn { width: 100%; }
  .spm-footer .spm-wrap { align-items: flex-start; flex-direction: column; gap: 4px; }
  .spm-footer small { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
