:root {
  --ink: #26332d;
  --muted: #65716b;
  --green: #6b927f;
  --green-dark: #3f6b58;
  --coral: #cf8064;
  --blue: #5f8aa3;
  --canvas: #f7f3ea;
  --paper: #ffffff;
  --line: #d8d2c4;
  --soft-green: #edf4ef;
  --soft-coral: #f7e5dc;
  --soft-blue: #e5edf2;
  --shadow: 0 24px 60px rgba(38, 51, 45, 0.12);
  --radius: 8px;
  --font-body: "Inter", Arial, sans-serif;
  --font-display: "Sora", "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-body);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(247, 243, 234, 0.92);
  border-bottom: 1px solid rgba(216, 210, 196, 0.75);
  backdrop-filter: blur(12px);
}

.brand {
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.header-action {
  min-width: 106px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--green-dark);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.section-band {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 68px);
}

section[id] {
  scroll-margin-top: 86px;
}

#top {
  scroll-margin-top: 86px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 170px);
  padding-top: clamp(24px, 4vw, 34px);
  padding-bottom: clamp(24px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(63, 111, 88, 0.12), rgba(217, 108, 74, 0.08) 50%, rgba(62, 111, 143, 0.11)),
    var(--canvas);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 4.6vw, 4.95rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 4rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-text,
.builder-copy p,
.contact-layout p,
.brand-showcase p,
.feature-grid p,
.locked-preview p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 680px;
  margin: 22px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--paper);
  background: var(--green);
}

.button.primary:hover {
  background: var(--green-dark);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.trust-row span {
  padding: 8px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.84rem;
  font-weight: 800;
}

.product-visual {
  min-width: 0;
}

.app-window {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 510px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(38, 51, 45, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.app-sidebar {
  padding: 18px;
  background: #eef3ee;
  border-right: 1px solid var(--line);
  color: var(--ink);
}

.app-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-weight: 800;
}

.side-item {
  display: block;
  width: 100%;
  min-height: 38px;
  margin-bottom: 8px;
  padding: 8px 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-align: left;
  cursor: default;
}

.side-item.active {
  color: var(--green-dark);
  background: var(--paper);
  border-color: #cfddd3;
}

.side-item.locked {
  border-color: #d9e2dc;
  opacity: 0.72;
}

.app-main {
  min-width: 0;
  padding: 24px;
}

.app-topbar,
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.app-kicker {
  margin: 0 0 5px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.app-topbar h2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.company-pill {
  max-width: 220px;
  padding: 8px 12px;
  overflow: hidden;
  color: var(--green-dark);
  background: var(--soft-green);
  border: 1px solid #c8ddce;
  border-radius: var(--radius);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.metric,
.stage,
.order-list article,
.price-card,
.feature-grid article,
.brand-showcase,
.builder-panel,
.builder-preview,
.space-page-preview,
.space-benefits article,
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.metric {
  padding: 16px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  font-weight: 800;
}

.metric.premium {
  color: #8a482f;
  background: var(--soft-coral);
  border-color: #ebc3b2;
}

.pipeline-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.stage {
  min-height: 98px;
  padding: 14px;
}

.stage span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.stage b {
  display: block;
  margin-top: 15px;
  font-size: 2rem;
}

.stage.selected {
  color: var(--paper);
  background: var(--green);
  border-color: var(--green);
}

.stage.selected span {
  color: rgba(255, 255, 255, 0.78);
}

.order-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.order-list article {
  padding: 16px;
}

.product-visual .order-list article:nth-child(2) {
  display: none;
}

.order-list h3 {
  margin-top: 10px;
}

.order-list p {
  margin: 7px 0 0;
  color: var(--muted);
}

.status {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.status.custom {
  color: #2e5844;
  background: var(--soft-green);
}

.status.market {
  color: #2f5875;
  background: var(--soft-blue);
}

.brand-kit,
.features {
  background: var(--paper);
}

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

.brand-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: stretch;
}

.brand-showcase {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 44px);
  background: linear-gradient(135deg, var(--canvas), #fbfaf7);
}

.brand-showcase img {
  width: min(360px, 100%);
}

.brand-principles {
  display: grid;
  gap: 12px;
}

.brand-principles article {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  align-items: start;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.brand-principles span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--green-dark);
  background: var(--soft-green);
  border-radius: 50%;
  font-weight: 900;
}

.brand-principles h3 {
  margin-bottom: 7px;
}

.brand-principles p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.swatch {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 150px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.swatch span,
.swatch b {
  display: block;
}

.swatch b {
  margin-top: 6px;
  font-size: 0.8rem;
  opacity: 0.75;
}

.swatch.ink,
.swatch.green,
.swatch.coral,
.swatch.blue {
  color: var(--paper);
}

.swatch.ink { background: var(--ink); }
.swatch.green { background: var(--green); }
.swatch.coral { background: var(--coral); }
.swatch.blue { background: var(--blue); }
.swatch.canvas { background: var(--canvas); }
.swatch.paper { background: var(--paper); }

.builder {
  background: linear-gradient(180deg, var(--canvas), #efe9dc);
  padding-bottom: clamp(34px, 5vw, 62px);
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  max-width: 1424px;
  margin: 0 auto;
}

.builder-copy {
  grid-column: 1 / -1;
  max-width: 720px;
}

.builder-panel,
.contact-form {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.builder-panel,
.builder-preview {
  align-self: stretch;
  min-height: 492px;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 12px;
}

label,
legend {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

input:focus,
select:focus {
  outline: 3px solid rgba(63, 111, 88, 0.22);
  border-color: var(--green);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.option-grid label,
.theme-picker label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 10px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

.option-grid input,
.theme-picker input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.theme-picker {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.theme-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.theme-dot.green { background: var(--green); }
.theme-dot.blue { background: var(--blue); }
.theme-dot.coral { background: var(--coral); }

.locked-field {
  position: relative;
  opacity: 0.76;
}

.locked-field span {
  display: inline-block;
  margin-top: 8px;
  color: #8a482f;
  font-size: 0.78rem;
}

.form-note {
  min-height: 20px;
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.setup-note {
  margin: 0;
  padding: 12px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 1.55;
}

.builder-preview {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.preview-header span {
  color: var(--green-dark);
  font-weight: 900;
}

.preview-header strong {
  text-align: right;
}

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

.preview-limits div {
  min-height: 80px;
  padding: 12px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.preview-limits b,
.preview-limits span {
  display: block;
}

.preview-limits b {
  font-size: 1.35rem;
}

.preview-limits span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.channel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.channel-list span {
  padding: 8px 10px;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 800;
}

.locked-preview {
  padding: 14px;
  background: var(--soft-coral);
  border: 1px solid #ebc3b2;
  border-radius: var(--radius);
}

.locked-preview span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 8px;
  color: var(--paper);
  background: var(--coral);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.locked-preview p {
  margin: 0;
  font-size: 0.92rem;
}

.spacesimply {
  background: #fbfaf7;
  padding-top: clamp(34px, 5vw, 62px);
}

.spacesimply-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}

.spacesimply .section-heading {
  margin-bottom: 0;
}

.spacesimply .section-heading p:not(.eyebrow),
.space-page-card p,
.space-benefits p {
  color: var(--muted);
  line-height: 1.7;
}

.space-page-preview {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.space-browser-bar {
  display: grid;
  grid-template-columns: 10px 10px 10px 1fr;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  background: #eef3ee;
  border-bottom: 1px solid var(--line);
}

.space-browser-bar span {
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
}

.space-browser-bar span:nth-child(2) {
  background: #d9bd78;
}

.space-browser-bar span:nth-child(3) {
  background: var(--green);
}

.space-browser-bar strong {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.space-page-card {
  padding: clamp(22px, 4vw, 38px);
}

.space-page-card h3 {
  font-size: clamp(1.85rem, 3vw, 3rem);
}

.space-form {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.space-form span,
.space-form button {
  min-height: 44px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.space-form span {
  color: var(--muted);
  background: #fbfaf7;
  border: 1px solid var(--line);
}

.space-form button {
  color: var(--paper);
  background: var(--green);
  border: 0;
}

.space-benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.space-benefits article {
  padding: 18px;
}

.space-benefits p {
  margin-bottom: 0;
}

.community {
  background: linear-gradient(180deg, #fbfaf7, var(--canvas));
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
}

.community .section-heading {
  margin-bottom: 0;
}

.community .section-heading p:not(.eyebrow),
.community-preview p {
  color: var(--muted);
  line-height: 1.7;
}

.community-preview {
  display: grid;
  gap: 12px;
}

.community-preview article {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.community-preview span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 9px;
  color: var(--green-dark);
  background: var(--soft-green);
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plugins {
  background: var(--ink);
  color: var(--paper);
}

.plugins .eyebrow {
  color: #a9c9b8;
}

.plugins .section-heading {
  margin-bottom: 0;
}

.plugins .section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.7;
}

.plugins-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

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

.connector-grid div {
  min-height: 118px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.connector-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: var(--ink);
  background: var(--canvas);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 900;
}

.connector-grid b,
.connector-grid small {
  display: block;
}

.connector-grid b {
  font-size: 0.98rem;
}

.connector-grid small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 700;
}

.referral-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.referral-card,
.origin-layout {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.referrals {
  background: linear-gradient(135deg, var(--canvas), #efe9dc);
}

.referral-card {
  padding: 24px;
}

.referral-card p,
.origin-layout p {
  color: var(--muted);
  line-height: 1.7;
}

.referral-card p {
  margin: 0 0 18px;
}

.referral-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  line-height: 1.55;
}

.trust-security {
  background: #fbfaf7;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.trust-security .section-heading {
  margin-bottom: 0;
}

.trust-security .section-heading p:not(.eyebrow),
.trust-grid p {
  color: var(--muted);
  line-height: 1.7;
}

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

.trust-grid article {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trust-grid p {
  margin-bottom: 0;
}

.origin {
  background: var(--paper);
}

.origin-layout {
  max-width: 980px;
  padding: clamp(24px, 5vw, 48px);
}

.origin-layout p:last-child {
  max-width: 820px;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.feature-grid article,
.price-card {
  padding: 22px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--green-dark);
  background: var(--soft-green);
  border: 1px solid #cfddd3;
  border-radius: var(--radius);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing {
  background: var(--canvas);
}

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

.price-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 440px;
}

.featured-price {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.price-label {
  align-self: flex-start;
  padding: 6px 9px;
  color: var(--ink);
  background: var(--canvas);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
}

.price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
}

.price-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 auto;
  padding-left: 19px;
  line-height: 1.5;
}

.featured-price .button.secondary {
  color: var(--ink);
}

.contact {
  background: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.contact-form {
  background: var(--canvas);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 68px);
  color: var(--muted);
  background: var(--ink);
}

.site-footer span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.crm-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  background: #f3eee4;
}

.crm-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 18px;
  color: var(--paper);
  background: var(--ink);
}

.crm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 28px;
  font-weight: 900;
}

.crm-sidebar nav {
  display: grid;
  gap: 8px;
}

.crm-sidebar nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
}

.crm-sidebar nav a.active,
.crm-sidebar nav a:hover {
  color: var(--ink);
  background: var(--canvas);
}

.crm-main {
  min-width: 0;
  padding: clamp(18px, 4vw, 42px);
}

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

.crm-header h1 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.crm-plan-pill {
  padding: 10px 14px;
  color: var(--green-dark);
  background: var(--soft-green);
  border: 1px solid #c8ddce;
  border-radius: var(--radius);
  font-weight: 900;
  text-transform: capitalize;
}

.crm-dashboard,
.crm-panel,
.crm-board article,
.crm-metrics article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.crm-dashboard,
.crm-panel {
  padding: 22px;
}

.crm-section-heading {
  margin-bottom: 18px;
}

.crm-section-heading h2 {
  font-size: clamp(1.45rem, 2.3vw, 2.3rem);
}

.crm-section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.crm-metrics article {
  min-height: 112px;
  padding: 16px;
}

.crm-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.crm-metrics strong {
  display: block;
  margin-top: 20px;
  font-size: 1.35rem;
}

.locked-card {
  color: #8a482f;
  background: var(--soft-coral) !important;
  border-color: #ebc3b2 !important;
}

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

.crm-board article {
  min-height: 220px;
  padding: 16px;
}

.crm-board h3 {
  margin-bottom: 14px;
}

.empty-state {
  min-height: 126px;
  padding: 14px;
  color: var(--muted);
  background: #fbfaf7;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  line-height: 1.5;
}

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

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

.integration-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.integration-row span,
.integration-row b {
  overflow-wrap: anywhere;
}

.integration-row b {
  color: var(--green-dark);
  font-size: 0.8rem;
}

.crm-space-builder {
  margin-top: 18px;
}

.crm-space-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 1.25fr);
  gap: 18px;
  align-items: stretch;
}

.event-page-settings {
  display: grid;
  gap: 14px;
}

.event-page-limit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 12px;
  background: var(--soft-green);
  border: 1px solid #c8ddce;
  border-radius: var(--radius);
  font-weight: 900;
}

.event-page-limit span {
  color: var(--green-dark);
}

.crm-event-preview {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.qr-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  align-self: start;
  aspect-ratio: 1;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.qr-card div {
  background: var(--ink);
  border-radius: 3px;
}

.qr-card div:nth-child(2),
.qr-card div:nth-child(5),
.qr-card div:nth-child(8),
.qr-card div:nth-child(11),
.qr-card div:nth-child(13) {
  background: var(--green);
}

.qr-card div:nth-child(4),
.qr-card div:nth-child(7),
.qr-card div:nth-child(10),
.qr-card div:nth-child(16) {
  background: transparent;
}

.event-phone-preview {
  min-width: 0;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.event-phone-preview h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
}

.event-phone-preview strong {
  display: block;
  margin-top: 10px;
  color: var(--green-dark);
  font-size: 1rem;
}

.event-phone-preview p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.phone-form-preview {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.phone-form-preview span,
.phone-form-preview button {
  min-height: 38px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-weight: 800;
}

.phone-form-preview span {
  color: var(--muted);
  background: #fbfaf7;
  border: 1px solid var(--line);
}

.phone-form-preview button {
  color: var(--paper);
  background: var(--green);
  border: 0;
}

.marketplace-listing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  padding: 16px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.marketplace-listing h3 {
  margin-top: 8px;
}

.marketplace-listing p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.marketplace-listing b {
  flex: 0 0 auto;
  padding: 9px 11px;
  color: var(--paper);
  background: var(--green);
  border-radius: var(--radius);
  font-size: 0.82rem;
}

.forum-category-list {
  display: grid;
  gap: 10px;
}

.forum-category-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.forum-category-list span {
  font-weight: 800;
}

.forum-category-list b {
  color: var(--green-dark);
  font-size: 0.78rem;
}

body.theme-blue {
  --green: #3e6f8f;
  --green-dark: #2f5875;
  --soft-green: #e5edf2;
}

body.theme-coral {
  --green: #d96c4a;
  --green-dark: #9c4c35;
  --soft-green: #f7e5dc;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-visual {
    width: 100%;
  }

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

  .crm-shell {
    grid-template-columns: 1fr;
  }

  .crm-sidebar {
    position: static;
    height: auto;
  }

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

  .crm-metrics,
  .crm-board,
  .crm-space-layout,
  .crm-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .builder-layout {
    grid-template-columns: 1fr;
  }
}

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

  .nav-links {
    display: none;
  }

  .builder-layout {
    max-width: 720px;
  }

  .builder-panel,
  .builder-preview {
    min-height: 560px;
  }

  .builder-panel,
  .builder-preview {
    padding: 18px;
  }

  .builder-panel .form-row {
    grid-template-columns: 1fr;
  }

  .app-window {
    grid-template-columns: 1fr;
  }

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

  .app-mark {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }

  .side-item {
    margin: 0;
  }

  .metric-grid,
  .pipeline-preview,
  .brand-grid,
  .swatch-grid,
  .spacesimply-layout,
  .community-layout,
  .plugins-layout,
  .referral-layout,
  .trust-layout,
  .pricing-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 156px;
  }

  .header-action {
    min-width: auto;
    padding: 9px 11px;
    font-size: 0.84rem;
  }

  .section-band {
    padding: 44px 16px;
  }

  .hero {
    padding: 24px 16px;
  }

  h1 {
    font-size: 2.12rem;
    line-height: 1.02;
  }

  .hero-text {
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .trust-row {
    display: none;
  }

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

  .product-visual {
    margin-top: 8px;
  }

  .app-window {
    display: block;
    min-height: 0;
  }

  .product-visual .app-sidebar {
    display: block;
    padding: 12px;
  }

  .product-visual .app-mark {
    margin-bottom: 0;
  }

  .product-visual .side-item {
    display: none;
  }

  .app-main,
  .builder-panel,
  .builder-preview,
  .feature-grid article,
  .price-card,
  .contact-form {
    padding: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .app-topbar,
  .preview-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .company-pill {
    max-width: 100%;
  }

  .metric-grid,
  .connector-grid,
  .space-benefits,
  .trust-grid,
  .preview-limits,
  .option-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .product-visual .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .product-visual .metric {
    min-height: 82px;
    padding: 10px;
  }

  .product-visual .metric strong {
    font-size: 1.45rem;
  }

  .product-visual .pipeline-preview,
  .product-visual .order-list {
    display: none;
  }

  .stage {
    min-height: 88px;
  }

  .crm-main {
    padding: 16px;
  }

  .crm-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .crm-metrics,
  .crm-board,
  .crm-space-layout,
  .crm-event-preview,
  .crm-grid-two,
  .crm-sidebar nav {
    grid-template-columns: 1fr;
  }

  .integration-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .marketplace-listing,
  .forum-category-list div {
    align-items: flex-start;
    flex-direction: column;
  }
}
