:root {
  --navy-950: #06152d;
  --navy-900: #082044;
  --navy-800: #0b2d5c;
  --blue-700: #075ed8;
  --blue-600: #0b73ff;
  --blue-100: #e8f1ff;
  --gray-950: #102033;
  --gray-700: #43566f;
  --gray-500: #6e7f93;
  --gray-300: #d5dde8;
  --gray-200: #e8edf4;
  --gray-100: #f5f7fb;
  --white: #ffffff;
  --green-600: #0b8f5a;
  --red-600: #c24135;
  --amber-600: #b26b00;
  --shadow: 0 24px 70px rgba(6, 21, 45, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-950);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 74px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(213, 221, 232, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: var(--navy-950);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.brand span:last-child {
  color: var(--blue-600);
}

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.main-nav {
  justify-content: center;
  gap: 26px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  padding: 28px 0;
}

.main-nav a:hover {
  color: var(--blue-700);
}

.header-actions {
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy-900);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 12px 24px rgba(11, 115, 255, 0.23);
}

.button-primary:hover {
  background: var(--blue-700);
}

.button-secondary {
  color: var(--blue-700);
  border-color: var(--blue-600);
  background: var(--white);
}

.button-ghost {
  color: var(--navy-900);
  border-color: var(--gray-300);
  background: var(--white);
}

.button-danger {
  color: var(--red-600);
  border-color: #f1c9c5;
  background: #fff7f6;
}

.hero {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 21, 45, 0.98), rgba(8, 32, 68, 0.94)),
    radial-gradient(circle at 74% 28%, rgba(11, 115, 255, 0.42), transparent 34%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(480px, 1.07fr);
  gap: 52px;
  align-items: center;
  max-width: var(--max);
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: 70px 22px 58px;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 850;
  line-height: 1.02;
}

.hero-copy {
  max-width: 600px;
  margin: 24px 0 0;
  color: #dce8f8;
  font-size: 20px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

.hero .button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.launch-note {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.launch-note div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.launch-note strong {
  display: block;
  margin-bottom: 5px;
  font-size: 22px;
}

.launch-note span {
  color: #c7d8ee;
  font-size: 13px;
  font-weight: 700;
}

.dashboard-preview {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 850;
}

.preview-topbar span:last-child {
  color: var(--green-600);
  font-size: 12px;
}

.preview-body {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 430px;
  color: var(--gray-950);
}

.preview-rail {
  padding: 18px;
  border-right: 1px solid var(--gray-200);
  background: var(--gray-100);
}

.preview-rail span {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 750;
}

.preview-rail span:first-child {
  color: var(--blue-700);
  background: var(--blue-100);
}

.preview-main {
  padding: 20px;
}

.preview-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.preview-heading strong {
  display: block;
  margin-top: 5px;
  color: var(--navy-950);
  font-size: 20px;
}

.preview-heading > span {
  padding: 7px 9px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-700);
  background: var(--gray-100);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

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

.preview-module {
  padding: 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}

.preview-module b {
  display: block;
  margin: 5px 0;
  color: var(--navy-950);
  font-size: 14px;
  line-height: 1.25;
}

.preview-module small {
  display: block;
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.preview-module span,
.pipeline-row span,
.section-label {
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-workspace {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 12px;
  margin-top: 14px;
}

.preview-list {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-100);
}

.preview-list-title {
  color: var(--navy-950);
  font-size: 13px;
  font-weight: 900;
}

.preview-list.compact p {
  margin: 0;
  padding: 11px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}

.preview-list.compact strong,
.preview-list.compact span {
  display: block;
}

.preview-list.compact strong {
  color: var(--navy-950);
  font-size: 13px;
}

.preview-list.compact span {
  margin-top: 3px;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 700;
}

.preview-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.preview-footer span {
  padding: 7px 9px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-700);
  background: var(--white);
  font-size: 12px;
  font-weight: 850;
}

.pipeline-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}

.pipeline-row strong {
  display: block;
  margin-bottom: 4px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue-600);
}

.status-dot.green {
  background: var(--green-600);
}

.status-dot.amber {
  background: var(--amber-600);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px 22px;
}

.section-band {
  background: var(--gray-100);
}

.section h2 {
  max-width: 780px;
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.06;
}

.section-intro {
  max-width: 730px;
  margin: 16px 0 0;
  color: var(--gray-700);
  font-size: 18px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.feature-card,
.pricing-card,
.metric-card,
.plan-panel,
.crm-panel,
.form-panel,
.template-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-card {
  min-height: 180px;
  padding: 22px;
}

.feature-card svg {
  width: 32px;
  height: 32px;
  color: var(--blue-600);
}

.feature-card h3,
.pricing-card h3,
.form-panel h3,
.template-card h3 {
  margin: 16px 0 8px;
  color: var(--navy-950);
  font-size: 20px;
}

.feature-card p,
.pricing-card p,
.form-panel p,
.template-card p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.55;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 22px;
  margin-top: 38px;
}

.pricing-card {
  padding: 28px;
}

.pricing-card.featured {
  border-color: rgba(11, 115, 255, 0.42);
  box-shadow: var(--shadow);
}

.price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.price-box {
  padding: 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-100);
}

.price-box strong {
  display: block;
  color: var(--navy-950);
  font-size: 34px;
}

.price-box span {
  color: var(--gray-700);
  font-weight: 750;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--gray-700);
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(var(--green-600), var(--green-600)) 50% 50% / 9px 2px no-repeat,
    linear-gradient(135deg, transparent 43%, var(--green-600) 44% 56%, transparent 57%) 48% 46% /
      9px 9px no-repeat;
  background-color: #e9f8f1;
}

.two-column {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 30px;
  align-items: start;
}

.form-panel {
  padding: 28px;
  box-shadow: var(--shadow);
}

.lead-form {
  display: grid;
  gap: 16px;
}

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

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-950);
  font-size: 15px;
  outline: none;
}

input,
select {
  min-height: 42px;
  padding: 0 12px;
}

textarea {
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(11, 115, 255, 0.14);
}

.form-submit {
  width: fit-content;
}

.form-success {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #bde9d3;
  border-radius: var(--radius);
  color: #075c3b;
  background: #edfff5;
  font-weight: 750;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-list a,
.contact-list div {
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}

.crm-shell {
  min-height: calc(100vh - 74px);
  background: var(--gray-100);
}

.crm-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 28px 22px 70px;
}

.crm-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.crm-header h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(32px, 4vw, 46px);
}

.crm-header p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--gray-700);
  line-height: 1.5;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(118px, 1fr));
  gap: 12px;
}

.metric-card {
  padding: 15px;
}

.metric-card span {
  display: block;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 850;
}

.metric-card strong {
  display: block;
  margin-top: 5px;
  color: var(--navy-950);
  font-size: 26px;
}

.crm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  margin-top: 18px;
}

.crm-panel {
  padding: 18px;
}

.crm-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 170px 190px 180px;
  gap: 10px;
  margin-bottom: 16px;
}

.lead-table-wrap {
  overflow-x: auto;
}

.lead-table {
  width: 100%;
  min-width: 1020px;
  border-collapse: collapse;
}

.lead-table th,
.lead-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.lead-table th {
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-table td strong {
  display: block;
  color: var(--navy-950);
}

.lead-table td span {
  color: var(--gray-500);
  font-size: 12px;
}

.status-select {
  min-width: 130px;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.icon-button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  color: var(--navy-900);
  background: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.icon-button:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
}

.plan-panel {
  padding: 18px;
}

.plan-panel h2 {
  margin: 0 0 14px;
  color: var(--navy-950);
  font-size: 21px;
}

.plan-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}

.plan-list span {
  color: var(--gray-700);
  font-weight: 750;
}

.plan-list strong {
  color: var(--blue-700);
  font-size: 20px;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.template-card {
  padding: 22px;
}

.template-card pre {
  overflow: auto;
  min-height: 175px;
  margin: 16px 0 0;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--gray-100);
  color: var(--gray-700);
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.45;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 21, 45, 0.58);
}

.modal {
  width: min(860px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 24px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.modal-header h2 {
  margin: 0;
  color: var(--navy-950);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.empty-state {
  padding: 44px 20px;
  color: var(--gray-700);
  text-align: center;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-header.nav-open .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 10px;
  }

  .site-header.nav-open .main-nav a {
    padding: 6px 0;
  }

  .site-header.nav-open .header-actions {
    flex-wrap: wrap;
    padding-bottom: 16px;
  }

  .hero-inner,
  .two-column,
  .pricing-layout,
  .crm-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

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

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

@media (max-width: 760px) {
  .hero-inner,
  .section,
  .crm-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .launch-note,
  .feature-grid,
  .price-row,
  .form-grid,
  .templates-grid,
  .metrics-grid,
  .crm-toolbar {
    grid-template-columns: 1fr;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-rail {
    display: flex;
    overflow: auto;
    border-right: 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .preview-heading,
  .preview-workspace {
    grid-template-columns: 1fr;
  }

  .preview-heading {
    display: grid;
  }

  .preview-modules {
    grid-template-columns: 1fr;
  }

  .crm-header {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .form-submit {
    width: 100%;
  }
}

/* StanleySync App public-site redesign: align stanleysync.com with demo.stanleysync.com. */
:root {
  --navy-950: #0b1f2a;
  --navy-900: #0d2430;
  --navy-800: #143240;
  --blue-700: #0d2430;
  --blue-600: #b96524;
  --blue-100: #fff2df;
  --gray-950: #14212b;
  --gray-700: #516272;
  --gray-500: #758290;
  --gray-300: #dfd6ca;
  --gray-200: #e8ded2;
  --gray-100: #f6efe5;
  --white: #fffaf2;
  --cream: #f4ede2;
  --cream-strong: #fff4e4;
  --warm: #b96524;
  --warm-dark: #914917;
  --shadow: 0 24px 70px rgba(20, 33, 43, 0.12);
  --radius: 16px;
}

body {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 244, 228, 0.84), transparent 38%),
    linear-gradient(180deg, #f7f0e6 0%, #f2ebdf 100%);
  color: var(--gray-950);
}

.site-header {
  position: relative;
  top: auto;
  max-width: var(--max);
  min-height: 80px;
  margin: 20px auto 0;
  padding: 14px 24px;
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-bottom-color: rgba(255, 250, 242, 0.42);
  border-radius: 24px 24px 0 0;
  background: var(--navy-950);
  color: var(--cream-strong);
  box-shadow: 0 18px 42px rgba(11, 31, 42, 0.08);
  backdrop-filter: none;
}

.brand {
  align-items: center;
  gap: 12px;
  color: var(--cream-strong);
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: visible;
  flex: 0 0 48px;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-copy {
  display: grid;
  gap: 5px;
  color: var(--cream-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-copy span,
.brand span:last-child {
  color: var(--cream-strong);
}

.brand-copy small {
  color: #f6efe5;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.main-nav {
  gap: 10px;
  color: #f6efe5;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
}

.main-nav a:hover {
  border-color: rgba(255, 250, 242, 0.34);
  color: var(--cream-strong);
}

.header-actions {
  gap: 8px;
}

.header-actions .button {
  min-height: 36px;
  border-radius: 999px;
  font-size: 13px;
}

.header-actions .button-primary {
  color: #fffaf2;
  background: var(--warm);
  box-shadow: none;
}

.button {
  min-height: 40px;
  border-radius: 999px;
  font-weight: 850;
}

.button-primary {
  color: var(--navy-950);
  background: var(--cream-strong);
  box-shadow: none;
}

.button-primary:hover {
  background: #ffe9c8;
}

.button-secondary {
  color: #fffaf2;
  border-color: var(--warm);
  background: var(--warm);
}

.button-secondary:hover,
.header-actions .button-primary:hover {
  background: var(--warm-dark);
}

.button-ghost {
  color: var(--navy-950);
  border-color: var(--gray-300);
  background: rgba(255, 250, 242, 0.72);
}

.nav-toggle {
  border-color: rgba(255, 250, 242, 0.38);
  border-radius: 999px;
  background: transparent;
}

.nav-toggle span {
  background: var(--cream-strong);
}

.hero {
  padding: 0 22px 44px;
  color: var(--cream-strong);
  background: transparent;
}

.hero-inner {
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  max-width: var(--max);
  min-height: 500px;
  padding: 58px 32px 32px;
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: var(--navy-950);
  box-shadow: 0 30px 80px rgba(11, 31, 42, 0.16);
}

.hero-kicker,
.section-label {
  color: var(--warm);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 690px;
  color: var(--cream-strong);
  font-size: clamp(46px, 5.8vw, 76px);
  font-weight: 850;
  line-height: 0.98;
}

.hero-copy {
  max-width: 720px;
  color: #f6efe5;
  font-size: 18px;
  line-height: 1.62;
}

.hero .button-primary {
  background: var(--cream-strong);
  color: var(--navy-950);
}

.hero .button-ghost {
  color: var(--cream-strong);
  border-color: rgba(255, 250, 242, 0.64);
  background: transparent;
}

.hero .button-ghost:hover {
  background: rgba(255, 250, 242, 0.08);
}

.hero-steps {
  display: grid;
  gap: 14px;
}

.hero-steps article {
  position: relative;
  min-height: 94px;
  padding: 20px 56px 20px 18px;
  border: 1px solid rgba(255, 250, 242, 0.14);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.02);
}

.hero-steps article span {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #f6efe5;
  font-size: 12px;
}

.hero-steps strong {
  display: block;
  color: var(--cream-strong);
  font-size: 18px;
}

.hero-steps p {
  margin: 12px 0 0;
  color: #f6efe5;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-login {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  background: var(--cream-strong);
  color: var(--navy-950);
  font-size: 14px;
  font-weight: 850;
}

.section {
  padding: 68px 22px;
}

.section-band {
  max-width: none;
  padding-left: max(22px, calc((100vw - var(--max)) / 2));
  padding-right: max(22px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 250, 242, 0.36);
}

.section h2 {
  color: var(--gray-950);
  font-size: clamp(30px, 4vw, 46px);
}

.section-intro {
  color: var(--gray-700);
}

.workflow-grid,
.audience-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

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

.workflow-grid article,
.audience-grid article,
.feature-card,
.pricing-card,
.form-panel,
.contact-list a,
.contact-list div,
.preview-card {
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.82);
  box-shadow: 0 18px 44px rgba(20, 33, 43, 0.06);
}

.workflow-grid article {
  min-height: 210px;
  padding: 24px;
}

.workflow-grid span {
  color: var(--warm);
  font-size: 12px;
  font-weight: 900;
}

.workflow-grid h3 {
  margin: 38px 0 10px;
  color: var(--gray-950);
  font-size: 24px;
}

.workflow-grid p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.55;
}

.preview-section {
  padding-top: 26px;
}

.preview-card {
  padding: 26px;
}

.preview-card-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.preview-card-top h2 {
  margin-top: 8px;
}

.preview-card-top p {
  max-width: 740px;
  margin: 10px 0 0;
  color: var(--gray-700);
  line-height: 1.55;
}

.demo-shell {
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  background: #fbf7ef;
}

.demo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--gray-200);
  background: rgba(255, 250, 242, 0.9);
}

.demo-nav span {
  padding: 7px 13px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--gray-950);
  font-size: 13px;
  font-weight: 700;
}

.pilot-banner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 18px;
  padding: 22px 18px;
  border-radius: 16px;
  background: var(--navy-950);
  color: var(--cream-strong);
}

.pilot-banner strong {
  font-size: 20px;
}

.pilot-banner a {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--cream-strong);
  color: var(--navy-950);
  font-size: 14px;
  font-weight: 850;
}

.demo-workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px 18px;
}

.demo-workflow article,
.demo-panels article {
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: #fffdf8;
}

.demo-workflow article {
  padding: 14px;
}

.demo-workflow strong,
.demo-workflow span {
  display: block;
}

.demo-workflow span {
  margin-top: 8px;
  color: var(--gray-700);
  font-size: 12px;
}

.demo-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 18px 18px;
}

.demo-panels article {
  min-height: 170px;
  padding: 18px;
}

.demo-panels h3 {
  margin: 0 0 12px;
  color: var(--gray-950);
}

.demo-panels p {
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: rgba(246, 239, 229, 0.54);
  color: var(--gray-700);
  font-size: 13px;
}

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

.audience-grid article {
  min-height: 86px;
  display: grid;
  align-items: center;
  padding: 18px;
  color: var(--gray-950);
  font-size: 18px;
  font-weight: 850;
}

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

.feature-card {
  min-height: 188px;
}

.feature-card svg {
  color: var(--warm);
}

.pricing-card.featured {
  border-color: rgba(185, 101, 36, 0.42);
  background: #fffaf2;
}

.price-box {
  border-radius: 14px;
  background: #f8f0e5;
}

input,
select,
textarea {
  border-color: var(--gray-200);
  border-radius: 12px;
  background: #fffdf8;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--warm);
  box-shadow: 0 0 0 3px rgba(185, 101, 36, 0.14);
}

.form-success {
  border-color: #cbded0;
  border-radius: 12px;
  color: #24543b;
  background: #eff8ef;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  max-width: var(--max);
  margin: 18px auto 34px;
  padding: 24px 22px;
  color: var(--cream-strong);
  border-radius: 22px;
  background: var(--navy-950);
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.site-footer span {
  color: #f6efe5;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #f6efe5;
  font-weight: 800;
}

@media (max-width: 1060px) {
  .site-header {
    margin-left: 14px;
    margin-right: 14px;
  }

  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-actions {
    color: var(--cream-strong);
  }

  .hero-inner,
  .workflow-grid,
  .feature-grid,
  .audience-grid,
  .demo-workflow,
  .demo-panels {
    grid-template-columns: 1fr 1fr;
  }

  .hero-inner {
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .site-header {
    border-radius: 18px 18px 0 0;
  }

  .brand-copy {
    font-size: 11px;
  }

  .brand-copy small {
    font-size: 13px;
  }

  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 18px 20px;
    border-radius: 0 0 18px 18px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 16px;
  }

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

  .preview-card-top,
  .site-footer {
    display: grid;
  }

  .workflow-grid,
  .feature-grid,
  .audience-grid,
  .demo-workflow,
  .demo-panels {
    grid-template-columns: 1fr;
  }

  .preview-card {
    padding: 18px;
  }

  .pilot-banner {
    display: grid;
  }
}

/* Responsive hardening for public pages and forms. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body,
.site-header,
.hero,
.hero-inner,
.section,
.site-footer,
.preview-card,
.form-panel,
.pricing-card {
  min-width: 0;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.site-header {
  width: min(var(--max), calc(100% - 28px));
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
}

.brand,
.brand-copy,
.main-nav,
.header-actions,
.hero-actions,
.pricing-cta-row,
.contact-list,
.site-footer nav {
  min-width: 0;
  flex-wrap: wrap;
}

.brand-copy span,
.brand-copy small,
.hero h1,
.section h1,
.section h2,
.section p,
.feature-card p,
.pricing-card p,
.contact-list a,
.contact-list div {
  overflow-wrap: anywhere;
}

.hero-inner,
.two-column,
.pricing-layout,
.workflow-grid,
.feature-grid,
.audience-grid,
.demo-workflow,
.demo-panels,
.form-grid,
.price-row {
  min-width: 0;
}

.form-panel,
.lead-form,
.lead-form label,
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  max-width: 100%;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px !important;
  height: 1px;
  opacity: 0;
}

.consent-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.consent-row span {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.45;
}

.form-error {
  padding: 12px 14px;
  border: 1px solid #efc7bc;
  border-radius: 12px;
  color: #7f2d18;
  background: #fff3ef;
  font-weight: 750;
}

.pricing-cta-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 12px;
}

.muted {
  color: var(--gray-700);
  font-size: 13px;
}

.legal-section {
  min-height: 56vh;
}

.legal-section h1 {
  max-width: 800px;
  margin: 8px 0 16px;
  color: var(--gray-950);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
}

.legal-section p {
  max-width: 820px;
  color: var(--gray-700);
  font-size: 18px;
  line-height: 1.65;
}

.legal-contact {
  max-width: 520px;
}

@media (max-width: 1280px) {
  .feature-grid,
  .demo-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-actions {
    align-items: stretch;
  }

  .main-nav a,
  .header-actions .button {
    width: auto;
  }

  .hero-inner,
  .two-column,
  .pricing-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 12px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-copy {
    letter-spacing: 0.08em;
  }

  .main-nav,
  .header-actions {
    gap: 8px;
  }

  .main-nav a,
  .header-actions .button {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-inner {
    padding: 34px 16px 18px;
  }

  .section,
  .section-band {
    padding-left: 14px;
    padding-right: 14px;
  }

  .preview-card,
  .form-panel,
  .pricing-card {
    padding: 18px;
  }

  .workflow-grid,
  .feature-grid,
  .audience-grid,
  .demo-workflow,
  .demo-panels,
  .form-grid,
  .price-row {
    grid-template-columns: minmax(0, 1fr);
  }

.pricing-cta-row {
  display: grid;
}

  .site-footer {
    width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 39px;
  }

  .section h2,
  .legal-section h1 {
    font-size: 31px;
  }

  .button,
  .pilot-banner a {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 12px;
  }

  .demo-nav span {
    font-size: 12px;
  }
}

.legal-section,
.legal-section *,
.legal-contact,
.legal-contact a {
  max-width: 100%;
  min-width: 0;
}

.legal-section {
  width: 100%;
  overflow-x: clip;
}

.legal-section h1,
.legal-section p {
  width: 100%;
}

html,
body,
#app {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100vw;
  overflow-x: hidden !important;
}

/* Header-only fit pass: keep desktop navigation on one row, collapse before it wraps. */
.site-header {
  width: min(1240px, calc(100% - 28px));
  min-height: 72px;
  grid-template-columns: max-content minmax(320px, 1fr) max-content;
  gap: clamp(12px, 1.4vw, 22px);
  padding: 12px 18px;
  align-items: center;
}

.brand {
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-copy,
.brand-copy span,
.brand-copy small,
.main-nav a,
.header-actions .button {
  white-space: nowrap;
  overflow-wrap: normal;
}

.main-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(2px, 0.45vw, 8px);
}

.main-nav a {
  padding: 8px clamp(7px, 0.65vw, 10px);
}

.header-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 6px;
}

.header-actions .button {
  min-height: 34px;
  padding: 0 clamp(10px, 0.75vw, 13px);
  font-size: 12px;
}

@media (max-width: 1120px) {
  .site-header {
    width: calc(100% - 20px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-header.nav-open .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 8px;
  }

  .site-header.nav-open .main-nav a {
    width: 100%;
    padding: 9px 12px;
    text-align: center;
  }

  .site-header.nav-open .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-bottom: 4px;
  }

  .site-header.nav-open .header-actions .button {
    width: 100%;
    justify-content: center;
  }
}
