:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --demo-ink: #142033;
  --demo-muted: #5f6b7f;
  --demo-line: rgba(20, 32, 51, 0.14);
  --demo-page: #f6f7f3;
  --demo-surface: #ffffff;
  --demo-dark: #101827;
  --demo-accent: #0f766e;
  --demo-accent-2: #d97706;
  --demo-soft: rgba(15, 118, 110, 0.1);
  --demo-shadow: 0 24px 70px rgba(20, 32, 51, 0.15);
}

* {
  box-sizing: border-box;
}

body.industry-demo {
  margin: 0;
  color: var(--demo-ink);
  background: var(--demo-page);
}

body.glass-theme {
  --demo-page: #f4f8fb;
  --demo-accent: #1d4ed8;
  --demo-accent-2: #0891b2;
  --demo-soft: rgba(29, 78, 216, 0.1);
}

body.appliance-theme {
  --demo-page: #f8f5ef;
  --demo-accent: #b45309;
  --demo-accent-2: #0f766e;
  --demo-soft: rgba(180, 83, 9, 0.1);
}

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

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

.demo-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 58px);
  border-bottom: 1px solid var(--demo-line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.demo-brand-icon {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--demo-dark);
  font-weight: 900;
}

.demo-brand strong,
.demo-brand small {
  display: block;
}

.demo-brand small {
  color: var(--demo-muted);
  font-size: 13px;
}

.demo-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.demo-nav a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--demo-muted);
  font-weight: 750;
}

.demo-nav a:hover,
.demo-nav a:focus-visible {
  color: var(--demo-ink);
  background: var(--demo-soft);
  outline: 0;
}

.demo-section,
.demo-hero {
  padding: clamp(42px, 7vw, 86px) clamp(16px, 4vw, 58px);
}

.demo-hero {
  display: grid;
  min-height: min(760px, calc(100vh - 70px));
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  border-bottom: 1px solid var(--demo-line);
  background:
    linear-gradient(90deg, rgba(246, 247, 243, 0.97), rgba(246, 247, 243, 0.8) 50%, rgba(246, 247, 243, 0.35)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.glass-theme .demo-hero {
  background:
    linear-gradient(90deg, rgba(244, 248, 251, 0.97), rgba(244, 248, 251, 0.76) 50%, rgba(244, 248, 251, 0.24)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.appliance-theme .demo-hero {
  background:
    linear-gradient(90deg, rgba(248, 245, 239, 0.98), rgba(248, 245, 239, 0.78) 50%, rgba(248, 245, 239, 0.22)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  color: var(--demo-accent);
  background: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin: 16px 0 18px;
  color: var(--demo-ink);
  font-size: clamp(42px, 6.8vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.15;
}

.hero-copy p,
.section-heading p {
  max-width: 720px;
  color: var(--demo-muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.primary-action,
.secondary-action,
.submit-button,
.chip-button,
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
}

.primary-action,
.submit-button {
  padding: 11px 16px;
  border: 0;
  color: #fff;
  background: var(--demo-accent);
}

.secondary-action,
.chip-button,
.action-link {
  padding: 10px 14px;
  border: 1px solid var(--demo-line);
  color: var(--demo-ink);
  background: rgba(255, 255, 255, 0.9);
}

.hero-proof {
  display: grid;
  gap: 12px;
  align-self: stretch;
  align-content: center;
}

.proof-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(20, 32, 51, 0.12);
}

.proof-card strong {
  display: block;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.proof-card span {
  display: block;
  margin-top: 8px;
  color: var(--demo-muted);
  font-weight: 750;
}

.mobile-actions {
  display: none;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 860px;
  margin-bottom: clamp(18px, 4vw, 34px);
}

.section-heading .eyebrow {
  justify-self: start;
}

.service-grid,
.trust-grid,
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.trust-card,
.area-card,
.form-panel,
.crm-panel,
.report-card,
.faq-item {
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  background: var(--demo-surface);
  box-shadow: 0 14px 42px rgba(20, 32, 51, 0.08);
}

.service-card {
  overflow: hidden;
}

.service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-card div,
.trust-card,
.area-card {
  padding: 18px;
}

.service-card p,
.trust-card p,
.area-card p {
  margin-bottom: 0;
  color: var(--demo-muted);
}

.service-card ul,
.trust-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--demo-muted);
}

.trust-grid {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  align-items: stretch;
}

.trust-score {
  background: var(--demo-dark);
  color: #fff;
}

.trust-score p {
  color: rgba(255, 255, 255, 0.74);
}

.stars {
  display: block;
  margin: 14px 0 8px;
  color: #f59e0b;
  font-size: 28px;
  letter-spacing: 0;
}

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

.proof-list span {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 14px;
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  background: #fff;
  font-weight: 850;
}

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

.proof-mini {
  overflow: hidden;
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  background: #fff;
}

.proof-mini img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.proof-mini div {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.proof-mini strong {
  line-height: 1.15;
}

.proof-mini span {
  color: var(--demo-muted);
  font-size: 13px;
  font-weight: 800;
}

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

.process-step {
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.process-step span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--demo-accent);
  font-size: 12px;
  font-weight: 900;
}

.process-step strong {
  display: block;
  line-height: 1.15;
}

.lead-section {
  background: #fff;
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 4vw, 36px);
  align-items: start;
  max-width: 980px;
}

.form-panel,
.crm-panel {
  padding: clamp(18px, 3vw, 28px);
}

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

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

label {
  display: grid;
  gap: 6px;
  color: var(--demo-muted);
  font-size: 13px;
  font-weight: 850;
}

.form-group-title {
  margin: 4px 0 -4px;
  color: var(--demo-ink);
  font-size: 15px;
  font-weight: 900;
}

.demo-only-note {
  color: var(--demo-muted);
  font-size: 12px;
  font-weight: 800;
}

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

textarea {
  min-height: 104px;
  resize: vertical;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-button {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--demo-muted);
  background: #fff;
}

.chip-button.is-selected {
  color: #fff;
  border-color: var(--demo-accent);
  background: var(--demo-accent);
}

.upload-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px dashed rgba(20, 32, 51, 0.28);
  border-radius: 8px;
  color: var(--demo-muted);
  background: var(--demo-soft);
}

.crm-panel {
  position: sticky;
  top: 88px;
}

.crm-panel > .eyebrow {
  margin-bottom: 10px;
}

.crm-summary {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  background: #f8fafc;
}

.crm-summary strong {
  font-size: 22px;
}

.crm-summary span {
  color: var(--demo-muted);
  font-weight: 700;
}

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

.action-link {
  min-height: 42px;
}

.notion-preview {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  background: #fff;
}

.notion-browser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--demo-muted);
  border-bottom: 1px solid var(--demo-line);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.notion-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--demo-line);
}

.notion-tabs span {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--demo-muted);
  background: #f1f5f9;
  font-size: 12px;
  font-weight: 850;
}

.notion-tabs span:first-child {
  color: #fff;
  background: var(--demo-accent);
}

.notion-table {
  margin-top: 0;
  overflow: hidden;
}

.notion-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr 1fr;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--demo-line);
  font-weight: 750;
}

.notion-row:last-child {
  border-bottom: 0;
}

.notion-head {
  color: var(--demo-muted);
  background: #f8fafc;
  font-size: 12px;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  width: max-content;
  min-height: 28px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  color: #065f46;
  background: #d1fae5;
  font-size: 12px;
  font-weight: 900;
}

.crm-small-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.crm-small-actions a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid var(--demo-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.crm-small-actions a:first-child {
  color: #fff;
  border-color: var(--demo-accent);
  background: var(--demo-accent);
}

.reports-section {
  background: var(--demo-dark);
  color: #fff;
}

.reports-section p,
.reports-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.report-card {
  max-width: 980px;
  color: var(--demo-ink);
  overflow: hidden;
}

.email-head,
.email-row,
.email-body {
  padding: 18px clamp(18px, 3vw, 28px);
  border-bottom: 1px solid var(--demo-line);
  background: #fff;
}

.email-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-weight: 900;
}

.email-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
}

.email-row span:first-child {
  color: var(--demo-muted);
  font-weight: 900;
  text-transform: uppercase;
}

.email-body {
  border-bottom: 0;
}

.email-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.email-stats div {
  padding: 14px;
  border: 1px solid var(--demo-line);
  border-radius: 8px;
}

.email-stats strong {
  display: block;
  color: var(--demo-accent);
  font-size: 34px;
}

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

.faq-item {
  padding: 18px;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--demo-muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(18px, 4vw, 38px);
  align-items: start;
  background: #fff;
}

.contact-copy {
  display: grid;
  gap: 14px;
}

.contact-copy h2 {
  margin-bottom: 0;
}

.contact-copy p {
  max-width: 620px;
  color: var(--demo-muted);
  font-size: 18px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.contact-methods a {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  color: var(--demo-ink);
  background: #fff;
  font-weight: 900;
}

.contact-methods a[data-call-link] {
  color: #fff;
  border-color: var(--demo-accent);
  background: var(--demo-accent);
}

.contact-methods a[data-text-link] {
  color: #fff;
  border-color: #12836f;
  background: #12836f;
}

.contact-methods a[data-email-link] {
  color: var(--demo-ink);
  border-color: var(--demo-line);
  background: #fff;
}

.contact-card,
.contact-form {
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  background: var(--demo-surface);
  box-shadow: 0 14px 42px rgba(20, 32, 51, 0.08);
}

.contact-card {
  display: grid;
  gap: 5px;
  padding: 16px;
}

.contact-card strong {
  font-size: 20px;
}

.contact-card span {
  color: var(--demo-muted);
  font-weight: 750;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 26px);
}

.contact-form .demo-only-note {
  border-radius: 8px;
  padding: 10px 12px;
}

.contact-form .demo-only-note.is-success {
  color: #0f5d4f;
  background: rgba(18, 131, 111, 0.1);
}

.footer-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: #fff;
}

.demo-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(16px, 4vw, 58px);
  color: var(--demo-muted);
  border-top: 1px solid var(--demo-line);
}

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

  .demo-nav a:not(.nav-cta) {
    display: none;
  }

  .demo-hero,
  .lead-layout,
  .trust-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .demo-hero {
    min-height: auto;
    padding-bottom: 28px;
  }

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

  .proof-card {
    padding: 14px;
  }

  .proof-card strong {
    font-size: 26px;
  }

  .service-grid,
  .area-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .crm-panel {
    position: static;
  }

  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .demo-section,
  .demo-hero {
    padding: 22px 14px;
  }

  .demo-header {
    padding: 10px 12px;
  }

  .demo-brand-icon {
    width: 36px;
    height: 36px;
  }

  .demo-brand small {
    display: none;
  }

  .hero-copy p,
  .section-heading p {
    font-size: 16px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 18px;
  }

  .section-heading {
    margin-bottom: 14px;
  }

  .hero-actions {
    display: none;
  }

  .mobile-actions {
    position: sticky;
    bottom: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px;
    border-top: 1px solid var(--demo-line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
  }

  .mobile-actions a {
    min-height: 42px;
    border-radius: 8px;
    color: #fff;
    background: var(--demo-dark);
    font-size: 13px;
    font-weight: 900;
    display: grid;
    place-items: center;
  }

  .hero-proof,
  .process-strip,
  .field-grid,
  .email-stats,
  .crm-actions,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .trust-grid,
  .faq-grid {
    gap: 10px;
  }

  .service-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .service-card img {
    height: 100%;
    min-height: 166px;
    aspect-ratio: auto;
  }

  .service-card div,
  .trust-card,
  .area-card,
  .faq-item {
    padding: 14px;
  }

  .service-card p,
  .trust-card p,
  .area-card p,
  .faq-item p {
    font-size: 14px;
    line-height: 1.45;
  }

  .service-card ul,
  .trust-card ul {
    margin-top: 8px;
    padding-left: 17px;
    font-size: 13px;
    line-height: 1.45;
  }

  .proof-gallery {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .proof-mini {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .proof-mini img {
    height: 100%;
    min-height: 104px;
    aspect-ratio: auto;
  }

  .proof-mini div {
    padding: 10px;
  }

  .proof-mini span {
    font-size: 12px;
    line-height: 1.35;
  }

  .process-step {
    min-height: 0;
    padding: 12px;
  }

  .form-panel,
  .crm-panel,
  .contact-form {
    padding: 14px;
  }

  .contact-section {
    gap: 14px;
  }

  .contact-copy {
    gap: 10px;
  }

  .contact-copy p {
    font-size: 15px;
    line-height: 1.45;
  }

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

  .contact-methods a {
    min-height: 40px;
    font-size: 13px;
  }

  .contact-card {
    padding: 14px;
  }

  .contact-form textarea {
    min-height: 88px;
  }

  .proof-card strong {
    font-size: 24px;
  }

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

  .notion-head {
    display: none;
  }

  .email-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
