.marketing-body {
  background: #f6f8fc;
  color: #172033;
  min-height: 100vh;
}

.marketing-body::before {
  background: radial-gradient(circle, rgba(53, 88, 225, 0.12), transparent 68%);
  content: "";
  height: 520px;
  pointer-events: none;
  position: absolute;
  right: -180px;
  top: -210px;
  width: 520px;
  z-index: 0;
}

.marketing-header {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(202, 211, 231, 0.75);
  position: sticky;
  top: 0;
  z-index: 50;
}

.marketing-nav,
.marketing-footer,
.marketing-section,
.marketing-hero,
.marketing-page-hero,
.marketing-band,
.marketing-cta {
  margin-inline: auto;
  max-width: 1240px;
}

.marketing-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 28px;
}

.marketing-brand {
  align-items: center;
  color: #172033;
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 800;
  gap: 11px;
  text-decoration: none;
}

.marketing-brand-mark {
  align-items: center;
  background: linear-gradient(135deg, #3154d8, #6f3de0);
  border-radius: 12px;
  box-shadow: 0 9px 24px rgba(49, 84, 216, 0.3);
  color: #fff;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.marketing-links {
  align-items: center;
  display: flex;
  gap: 24px;
}

.marketing-links > a:not(.btn),
.marketing-footer a {
  color: #516079;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.marketing-links > a:hover,
.marketing-footer a:hover {
  color: #3154d8;
}

.marketing-flashes {
  margin: 18px auto -18px;
  max-width: 1184px;
  padding-inline: 28px;
  position: relative;
  z-index: 2;
}

.marketing-hero {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  min-height: 680px;
  padding: 74px 28px 84px;
  position: relative;
}

.marketing-kicker {
  align-items: center;
  color: #3154d8;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 7px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.marketing-kicker svg {
  height: 16px;
  width: 16px;
}

.marketing-hero h1,
.marketing-page-hero h1 {
  color: #111a2c;
  font-size: clamp(2.65rem, 5vw, 4.75rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.99;
  margin: 22px 0 24px;
}

.marketing-hero-copy > p,
.marketing-page-hero > p {
  color: #60708a;
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 650px;
}

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

.marketing-body .btn {
  border-radius: 12px;
  font-weight: 750;
  padding: 0.72rem 1.15rem;
}

.marketing-body .btn-primary {
  background: linear-gradient(135deg, #3154d8, #5836c9);
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(49, 84, 216, 0.22);
}

.marketing-body .btn-primary:hover {
  box-shadow: 0 15px 30px rgba(49, 84, 216, 0.3);
  transform: translateY(-1px);
}

.marketing-trust-row {
  color: #53627a;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 22px;
  margin-top: 34px;
}

.marketing-trust-row span {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.marketing-trust-row svg {
  color: #2a9d78;
  height: 17px;
  width: 17px;
}

.marketing-hero-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 480px;
  position: relative;
}

.hero-orbit {
  border: 1px solid rgba(75, 98, 186, 0.17);
  border-radius: 50%;
  position: absolute;
}

.hero-orbit-one { height: 480px; width: 480px; }
.hero-orbit-two { height: 350px; width: 350px; }

.hero-console {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(201, 211, 233, 0.9);
  border-radius: 28px;
  box-shadow: 0 36px 90px rgba(38, 54, 103, 0.18);
  padding: 18px;
  position: relative;
  transform: rotate(1.5deg);
  width: min(100%, 520px);
  z-index: 2;
}

.hero-console-top {
  align-items: center;
  border-bottom: 1px solid #e8edf6;
  display: flex;
  gap: 7px;
  padding: 4px 4px 16px;
}

.hero-console-top > span {
  background: #d6ddeb;
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.hero-console-top small {
  color: #748199;
  font-weight: 750;
  margin-left: auto;
}

.hero-stat-grid {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(2, 1fr);
  padding-top: 18px;
}

.hero-stat-grid > div {
  background: linear-gradient(145deg, #f7f9fd, #fff);
  border: 1px solid #e7ecf5;
  border-radius: 18px;
  display: grid;
  min-height: 142px;
  padding: 20px;
}

.hero-stat-grid svg { color: #4c61d8; height: 23px; width: 23px; }
.hero-stat-grid strong { align-self: end; font-size: 1rem; margin-top: 20px; }
.hero-stat-grid small { color: #7a879c; }

.marketing-section {
  padding: 92px 28px;
}

.marketing-section-heading {
  margin: 0 auto 42px;
  max-width: 760px;
  text-align: center;
}

.marketing-section-heading h2,
.marketing-band h2,
.marketing-cta h2 {
  color: #151f33;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 820;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 14px 0;
}

.marketing-section-heading p,
.marketing-band p,
.marketing-cta p {
  color: #66758d;
  line-height: 1.7;
}

.public-module-grid,
.public-plan-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.public-module-card,
.public-plan-card,
.public-form-card,
.received-card {
  background: #fff;
  border: 1px solid #e1e7f1;
  border-radius: 22px;
  box-shadow: 0 16px 45px rgba(32, 48, 91, 0.07);
}

.public-module-card {
  padding: 28px;
  position: relative;
}

.public-module-card.is-core { border-color: rgba(49, 84, 216, 0.45); }
.public-module-icon { align-items: center; background: #eef2ff; border-radius: 14px; color: #3154d8; display: flex; height: 48px; justify-content: center; width: 48px; }
.public-module-card > span { color: #71809a; display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; margin-top: 22px; text-transform: uppercase; }
.public-module-card h3 { font-size: 1.28rem; font-weight: 800; margin: 8px 0 10px; }
.public-module-card p { color: #6a7890; font-size: 0.92rem; line-height: 1.6; min-height: 70px; }
.public-module-card ul { color: #4e5c73; font-size: 0.84rem; margin: 20px 0 0; padding-left: 18px; }
.public-module-card li + li { margin-top: 9px; }

.marketing-band,
.marketing-cta {
  align-items: center;
  background: #16213a;
  border-radius: 30px;
  color: #fff;
  display: grid;
  gap: 70px;
  grid-template-columns: 0.9fr 1.1fr;
  margin-bottom: 30px;
  padding: 58px 64px;
}

.marketing-band h2,
.marketing-cta h2 { color: #fff; }
.marketing-band p,
.marketing-cta p { color: #b9c4d8; margin: 0; }
.marketing-band .marketing-kicker,
.marketing-cta .marketing-kicker { color: #98aaff; }

.public-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.public-plan-card { display: flex; flex-direction: column; min-height: 360px; padding: 32px; position: relative; }
.public-plan-card.featured { border-color: #566fe5; box-shadow: 0 22px 60px rgba(49, 84, 216, 0.16); }
.plan-ribbon { align-self: flex-start; background: #edf1ff; border-radius: 999px; color: #3154d8; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; padding: 6px 10px; text-transform: uppercase; }
.public-plan-card h2,
.public-plan-card h3 { color: #182238; font-size: 1.35rem; font-weight: 820; margin: 18px 0 9px; }
.public-plan-card > p { color: #6d7a91; font-size: 0.9rem; line-height: 1.6; }
.plan-price { align-items: baseline; display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0; }
.plan-price strong { color: #121c30; font-size: 2rem; letter-spacing: -0.04em; }
.plan-price span { color: #7a879a; font-size: 0.78rem; }
.public-plan-card > .btn { margin-top: auto; }
.marketing-centered-action { margin-top: 30px; text-align: center; }
.marketing-centered-action a { align-items: center; color: #3154d8; display: inline-flex; font-weight: 800; gap: 8px; text-decoration: none; }
.marketing-centered-action svg { height: 17px; width: 17px; }

.marketing-cta { background: linear-gradient(135deg, #3154d8, #5134a7); grid-template-columns: 1fr auto; margin-bottom: 80px; }
.marketing-cta .btn { min-width: 190px; }

.marketing-page-hero {
  padding: 95px 28px 40px;
  text-align: center;
}

.marketing-page-hero > p { margin-inline: auto; }
.pricing-section { padding-top: 32px; }
.pricing-grid { align-items: stretch; }
.plan-heading { align-items: flex-start; display: flex; gap: 14px; justify-content: space-between; }
.plan-heading > span { background: #f1f4f9; border-radius: 8px; color: #6c7990; font-size: 0.68rem; font-weight: 800; padding: 6px 8px; }
.plan-limits { border-bottom: 1px solid #e8edf5; border-top: 1px solid #e8edf5; display: flex; flex-wrap: wrap; gap: 16px; padding: 15px 0; }
.plan-limits span { align-items: center; color: #59677f; display: flex; font-size: 0.8rem; gap: 6px; }
.plan-limits svg { height: 15px; width: 15px; }
.plan-feature-list { list-style: none; margin: 20px 0 28px; padding: 0; }
.plan-feature-list li { align-items: center; color: #506079; display: flex; font-size: 0.85rem; gap: 8px; margin: 10px 0; }
.plan-feature-list svg { color: #2c9a75; height: 16px; width: 16px; }
.pricing-note { margin-top: 10px; }
.public-empty-state { align-items: center; background: #fff; border: 1px dashed #bec9dd; border-radius: 24px; display: flex; flex-direction: column; padding: 70px 30px; text-align: center; }
.public-empty-state > svg { color: #4e65db; height: 38px; width: 38px; }

.signup-hero { padding-bottom: 24px; }
.signup-section { max-width: 1040px; padding-top: 26px; }
.public-signup-form { display: grid; gap: 20px; }
.signup-honeypot { height: 0; left: -10000px; opacity: 0; overflow: hidden; position: absolute; width: 0; }
.public-form-card { padding: 32px; }
.public-form-heading { align-items: flex-start; display: flex; gap: 15px; margin-bottom: 26px; }
.public-form-heading > span { align-items: center; background: #edf1ff; border-radius: 12px; color: #3154d8; display: flex; font-size: 0.8rem; font-weight: 850; height: 42px; justify-content: center; width: 42px; }
.public-form-heading h2 { font-size: 1.25rem; font-weight: 820; margin: 0 0 4px; }
.public-form-heading p { color: #75829a; font-size: 0.88rem; margin: 0; }
.public-signup-form .form-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.public-signup-form .form-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.public-signup-form .form-label { color: #38465d; font-size: 0.82rem; font-weight: 760; }
.public-signup-form .form-control,
.public-signup-form .form-select { background-color: #fbfcfe; border-color: #d9e0ec; border-radius: 10px; min-height: 46px; }
.public-signup-form textarea.form-control { min-height: 130px; }
.form-help { color: #8190a7; display: block; font-size: 0.75rem; margin-top: 7px; }
.signup-plan-options { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; }
.signup-plan-option,
.signup-module-option { cursor: pointer; position: relative; }
.signup-plan-option input,
.signup-module-option input[type="checkbox"] { opacity: 0; position: absolute; }
.signup-plan-option > span,
.signup-module-option > span { background: #fbfcff; border: 1px solid #dce3ef; border-radius: 13px; display: flex; flex-direction: column; min-height: 78px; padding: 16px; }
.signup-plan-option input:checked + span,
.signup-module-option input:checked ~ span,
.signup-module-option.is-required > span { background: #f2f5ff; border-color: #536ce1; box-shadow: 0 0 0 3px rgba(83, 108, 225, 0.09); }
.signup-plan-option strong,
.signup-module-option strong { color: #263249; font-size: 0.88rem; }
.signup-plan-option small,
.signup-module-option small { color: #7c889c; font-size: 0.73rem; margin-top: 4px; }
.signup-module-options { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 24px; }
.signup-module-option > span { min-height: 112px; }
.signup-module-option svg { color: #4a62d7; height: 22px; margin-bottom: 15px; width: 22px; }
.public-form-submit { align-items: center; display: flex; gap: 28px; justify-content: space-between; padding: 14px 4px 34px; }
.public-form-submit > div { align-items: center; color: #69778d; display: flex; font-size: 0.8rem; gap: 10px; max-width: 600px; }
.public-form-submit svg { color: #2a9b75; flex: 0 0 auto; height: 21px; width: 21px; }

.received-section { min-height: 660px; }
.received-card { margin: 20px auto; max-width: 720px; padding: 58px; text-align: center; }
.received-icon { align-items: center; background: #e9f8f2; border-radius: 50%; color: #24926e; display: flex; height: 76px; justify-content: center; margin: 0 auto 24px; width: 76px; }
.received-icon svg { height: 38px; width: 38px; }
.received-card h1 { color: #152036; font-size: clamp(2rem, 4vw, 3rem); font-weight: 840; letter-spacing: -0.045em; margin: 16px 0; }
.received-card > p { color: #6b7990; line-height: 1.7; }
.reference-card { background: #f6f8fc; border: 1px solid #e1e7f1; border-radius: 14px; display: grid; gap: 5px; margin: 28px auto; max-width: 380px; padding: 18px; }
.reference-card span { color: #7a879b; font-size: 0.72rem; font-weight: 750; text-transform: uppercase; }
.reference-card strong { color: #26395d; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.15rem; letter-spacing: 0.03em; }
.received-actions { display: flex; gap: 10px; justify-content: center; }

.marketing-footer {
  align-items: center;
  border-top: 1px solid #dfe5ef;
  color: #79869a;
  display: flex;
  justify-content: space-between;
  padding: 34px 28px 46px;
}
.marketing-footer > div:first-child { display: grid; gap: 4px; }
.marketing-footer strong { color: #27334a; }
.marketing-footer span { font-size: 0.8rem; }
.marketing-footer-links { display: flex; gap: 20px; }

@media (max-width: 1020px) {
  .marketing-hero { grid-template-columns: 1fr; padding-top: 70px; text-align: center; }
  .marketing-hero-copy > p { margin-inline: auto; }
  .marketing-hero-actions,
  .marketing-trust-row { justify-content: center; }
  .marketing-hero-visual { min-height: 420px; }
  .public-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signup-plan-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signup-module-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .marketing-nav { min-height: 68px; padding-inline: 18px; }
  .marketing-brand span:last-child { display: none; }
  .marketing-links { gap: 12px; }
  .marketing-links > a:not(.btn) { display: none; }
  .marketing-hero { gap: 26px; min-height: auto; padding: 64px 20px; }
  .marketing-hero h1,
  .marketing-page-hero h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  .marketing-hero-visual { min-height: 340px; }
  .hero-orbit-one { height: 330px; width: 330px; }
  .hero-orbit-two { height: 250px; width: 250px; }
  .hero-console { border-radius: 20px; padding: 12px; transform: none; }
  .hero-stat-grid > div { min-height: 115px; padding: 15px; }
  .marketing-section { padding: 68px 20px; }
  .public-module-grid,
  .public-plan-grid,
  .public-signup-form .form-grid,
  .public-signup-form .form-grid-three,
  .signup-plan-options,
  .signup-module-options { grid-template-columns: 1fr; }
  .marketing-band,
  .marketing-cta { border-radius: 0; gap: 18px; grid-template-columns: 1fr; margin-bottom: 0; padding: 44px 24px; }
  .marketing-cta { align-items: flex-start; }
  .marketing-page-hero { padding: 74px 20px 24px; }
  .public-form-card { padding: 24px 20px; }
  .public-form-submit { align-items: stretch; flex-direction: column; }
  .public-form-submit .btn { width: 100%; }
  .received-card { padding: 38px 22px; }
  .received-actions { flex-direction: column; }
  .marketing-footer { align-items: flex-start; flex-direction: column; gap: 22px; padding-inline: 20px; }
}

@media (max-width: 430px) {
  .hero-stat-grid { grid-template-columns: 1fr; }
  .hero-stat-grid > div:nth-child(n+3) { display: none; }
  .marketing-trust-row { align-items: center; flex-direction: column; gap: 10px; }
  .marketing-hero-actions { flex-direction: column; }
  .marketing-hero-actions .btn { width: 100%; }
}
