:root {
  --bg:#f7f4ee;
  --surface:#fff;
  --surface2:#fffdf9;
  --text:#243029;
  --muted:#667069;
  --line:#ded8cc;
  --blue:#2f4135;
  --blue2:#25362c;
  --blueSoft:#edf2ec;
  --gold:#d4b967;
  --goldSoft:#fff8e6;
  --green:#788a76;
  --greenSoft:#edf2ec;
  --shadow:0 14px 35px rgba(40,48,42,.05);
  --radius:24px
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
button,input,select,textarea {
  font:inherit
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid #385a7d;
  outline-offset:2px
}
.view {
  display:none
}
.view.active {
  display:block
}
.wrap {
  width:min(1080px,calc(100% - 32px));
  margin:0 auto;
  padding:34px 0 64px
}
.card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow)
}
.demo-nav {
  position:sticky;
  top:0;
  z-index:50;
  background:#f5ead0;
  border-bottom:1px solid var(--gold)
}
.nav-inner {
  width:min(1080px,calc(100% - 24px));
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:64px
}
.demo-label {
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:900;
  font-size:10px;
  color:#6d5932
}
.demo-nav nav {
  display:flex;
  gap:4px
}
.nav-btn {
  min-height:44px;
  border:1px solid transparent;
  background:transparent;
  color:#5c4b2d;
  border-radius:10px;
  padding:9px 12px;
  font-size:12px;
  font-weight:850
}
.nav-btn.active {
  background:#fff9eb;
  border-color:#d9b867
}
.sales-top {
  display:grid;
  grid-template-columns:1.45fr .9fr;
  gap:16px;
  margin-bottom:16px
}
.hero {
  padding:34px;
  background:linear-gradient(135deg,#fff 0%,#f7fafe 100%)
}
.pill,.section-label {
  display:inline-flex;
  padding:6px 9px;
  border-radius:999px;
  background:var(--blueSoft);
  color:var(--blue2);
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase
}
.hero h1 {
  font-size:clamp(40px,6vw,62px);
  line-height:.98;
  letter-spacing:-.055em;
  margin:18px 0 12px
}
.hero p,.intro {
  color:var(--muted);
  line-height:1.6
}
.hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:22px
}
.primary,.secondary,.demo-btn {
  min-height:44px;
  border-radius:11px;
  font-weight:850;
  padding:10px 15px;
  border:1px solid var(--line);
  cursor:pointer
}
.primary {
  background:var(--blue);
  border-color:var(--blue);
  color:#fff
}
.primary:hover {
  background:var(--blue2)
}
.secondary {
  background:#eef3f8;
  color:var(--text)
}
.why {
  padding:20px
}
.why>.section-label {
  margin-bottom:12px
}
.why-row {
  display:grid;
  grid-template-columns:34px 1fr;
  gap:10px;
  padding:13px;
  border:1px solid #d9e2eb;
  border-radius:12px;
  background:#f8fafc;
  margin-bottom:10px
}
.why-row b {
  width:30px;
  height:30px;
  border-radius:9px;
  background:#e8f0f7;
  color:#385a7d;
  display:grid;
  place-items:center
}
.why-row strong,.why-row span {
  display:block
}
.why-row strong {
  font-size:13px
}
.why-row span {
  font-size:11px;
  color:var(--muted);
  line-height:1.45;
  margin-top:4px
}
.value-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-bottom:16px
}
.value-card {
  padding:18px;
  border-top-width:4px
}
.value-card.blue {
  border-top-color:#5b84b0
}
.value-card.green {
  border-top-color:#5f9078
}
.value-card.gold {
  border-top-color:#bf833c
}
.value-card>span {
  display:block;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--blue2);
  margin-bottom:7px
}
.value-card strong {
  font-size:22px;
  line-height:1.1;
  display:block
}
.value-card p {
  font-size:12px;
  line-height:1.45;
  color:var(--muted);
  margin:7px 0 0
}
.section {
  padding:26px;
  margin-bottom:16px
}
.section h2 {
  font-size:28px;
  letter-spacing:-.03em;
  margin:14px 0 8px
}
.feature-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px
}
.feature {
  padding:15px;
  border:1px solid #d8e2eb;
  border-radius:13px;
  background:#f7f9fb
}
.feature strong,.feature span {
  display:block
}
.feature strong {
  font-size:13px
}
.feature span {
  font-size:12px;
  color:var(--muted);
  line-height:1.45;
  margin-top:4px
}
.package-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}
.package {
  position:relative;
  padding:20px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#f7f9fb
}
.package.featured {
  border-color:#9fb8d0;
  background:#f2f7fb
}
.package-tag {
  position:absolute;
  top:14px;
  right:14px;
  padding:5px 8px;
  border-radius:999px;
  background:#dfeaf5;
  color:#345776;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase
}
.price {
  font-size:24px;
  font-weight:900;
  letter-spacing:-.04em
}
.package h3 {
  margin:5px 0 8px
}
.package p,.package li {
  font-size:12.5px;
  color:var(--muted);
  line-height:1.45
}
.package ul {
  padding-left:18px
}
.package-result {
  margin-top:14px;
  padding:12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  font-size:12.5px;
  line-height:1.45
}
.steps {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px
}
.steps>div {
  padding:16px;
  border:1px solid #d7e1ea;
  background:#f8fafc;
  border-radius:13px
}
.steps b {
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  background:#e5eef7;
  color:#385a7d;
  border-radius:9px;
  margin-bottom:10px
}
.steps strong,.steps span {
  display:block
}
.steps span {
  font-size:12px;
  color:var(--muted);
  line-height:1.45;
  margin-top:5px
}
.faq-section details {
  border-top:1px solid #e2e8ee;
  padding:14px 0
}
.faq-section summary {
  cursor:pointer;
  font-weight:850
}
.faq-section details p {
  color:var(--muted);
  line-height:1.55;
  margin:9px 0 0;
  font-size:13px
}
.business-brand {
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:24px
}
.brand-mark {
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  border:1px solid #365b7e;
  border-radius:17px;
  background:linear-gradient(145deg,#668fb9 0%,#426b95 58%,#355a7e 100%);
  box-shadow:0 9px 18px rgba(47,79,110,.22),inset 0 1px 0 rgba(255,255,255,.25);
  color:#fff;
  font-size:19px;
  font-weight:900;
  letter-spacing:-.06em;
  text-shadow:0 1px 1px rgba(20,43,65,.28)
}
.business-brand>div {
  padding-top:1px
}
.business-brand strong,.business-brand span {
  display:block
}
.business-brand>div>strong {
  color:#172b3f;
  font-size:21px;
  letter-spacing:-.03em;
  line-height:1.1
}
.business-brand>div>span {
  color:#334b62;
  font-size:14px;
  font-weight:700;
  line-height:1.3;
  margin-top:5px
}
.customer-wrap {
  max-width:850px
}
.customer-hero {
  padding:28px;
  margin-bottom:16px
}
.customer-hero h1 {
  font-size:clamp(36px,6vw,52px);
  line-height:1;
  letter-spacing:-.05em;
  margin:13px 0 10px
}
.customer-hero p {
  margin:0;
  color:var(--muted);
  line-height:1.55
}
.form-card {
  padding:26px
}
.form-card h2 {
  font-size:28px;
  letter-spacing:-.03em;
  margin:0 0 5px
}
.fields {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px
}
.fields label {
  font-size:13px;
  font-weight:800
}
.fields label>span {
  font-weight:500;
  color:var(--muted)
}
.form-help {
  display:block;
  margin-top:6px;
  font-size:12px;
  font-weight:500;
  color:var(--muted);
  line-height:1.4
}
.demo-notice {
  margin:8px 0 0;
  color:var(--muted);
  font-size:12px;
  font-weight:700
}
.fields input,.fields select,.fields textarea {
  display:block;
  width:100%;
  margin-top:7px;
  min-height:46px;
  padding:11px 12px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fcfcfd;
  color:var(--text);
  outline:none
}
.fields textarea {
  min-height:116px;
  resize:vertical
}
.fields input:focus,.fields select:focus,.fields textarea:focus {
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(79,115,157,.12)
}
.full {
  grid-column:1/-1
}
.conditional {
  grid-column:1/-1;
  display:none;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  padding:14px;
  background:#f5f8fb;
  border:1px solid var(--line);
  border-radius:12px
}
.conditional.show {
  display:grid
}
.conditional label {
  font-size:12px;
  font-weight:800
}
.upload {
  margin-top:7px;
  padding:16px;
  border:1px dashed #9eb0c2;
  border-radius:13px;
  background:#f6f9fc
}
.upload strong {
  display:block;
  font-size:16px
}
.upload p {
  margin:5px 0 8px;
  color:var(--muted);
  font-size:12px;
  line-height:1.45
}
.photo-preview {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(100px,1fr));
  gap:7px;
  margin-top:8px
}
.photo-preview span {
  padding:7px;
  border-radius:8px;
  background:#fff;
  border:1px solid var(--line);
  font-size:10px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.form-actions {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:18px
}
.demo-btn {
  background:var(--goldSoft);
  border-color:#d5b46c;
  color:#6a5630
}
.success {
  display:none;
  margin-top:16px;
  padding:17px;
  border:1px solid #b8cfbf;
  border-radius:13px;
  background:var(--greenSoft)
}
.success.show {
  display:block
}
.success strong {
  display:block;
  font-size:18px
}
.success p {
  color:#53685c;
  line-height:1.45;
  margin:6px 0 0;
  font-size:13px
}
.demo-note {
  font-weight:700
}
.dashboard {
  padding:28px;
  font-size:16px
}
.dashboard-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px
}
.dashboard-head h1 {
  font-size:42px;
  letter-spacing:-.05em;
  margin:0
}
.dashboard-head p {
  margin:5px 0 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.45
}
.demo-actions {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.dashboard .demo-btn {
  font-size:14px;
  line-height:1.2
}
.stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-bottom:14px
}
.stats>div {
  padding:15px;
  border:1px solid #d7e1ea;
  border-radius:13px;
  background:#f7fafc
}
.stats strong,.stats span {
  display:block
}
.stats strong {
  font-size:28px
}
.stats span {
  font-size:13px;
  color:var(--muted);
  margin-top:5px;
  line-height:1.35
}
.filters {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-bottom:14px
}
.filter {
  min-height:44px;
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff;
  color:var(--text);
  font-size:14px;
  font-weight:850
}
.filter.active {
  background:var(--blue);
  border-color:var(--blue);
  color:#fff
}
.lead-list {
  display:grid;
  gap:14px
}
.lead-card {
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  overflow:hidden
}
.lead-top {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:18px 18px 14px
}
.lead-name {
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:2px 0 4px;
  font-size:20px;
  font-weight:900;
  border:0;
  background:none;
  color:var(--text);
  text-align:left;
  cursor:pointer
}
.lead-project {
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
  margin-top:6px
}
.status-wrap {
  flex:0 0 140px
}
.status-wrap span {
  display:block;
  font-size:11px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:#536275;
  margin-bottom:5px
}
.status-select {
  width:100%;
  min-height:44px;
  padding:8px 30px 8px 12px;
  border:1px solid #c8d4df;
  border-radius:11px;
  background:#eef3f8;
  color:#365776;
  font-size:14px;
  font-weight:850
}
.quick-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:0 18px 16px
}
.quick-actions a {
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border-radius:10px;
  background:var(--blue);
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:850
}
.view-details {
  width:100%;
  min-height:46px;
  border:0;
  border-top:1px solid #e1e7ed;
  background:#fff;
  color:var(--blue);
  font-size:15px;
  line-height:1;
  font-weight:850;
  cursor:pointer
}
.empty {
  padding:24px;
  border:1px dashed #c8d3dd;
  border-radius:13px;
  text-align:center;
  color:var(--muted);
  background:#f7f9fb;
  font-size:15px;
  line-height:1.45
}
.lead-dialog {
  width:min(650px,calc(100% - 24px));
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  box-shadow:0 25px 70px rgba(20,35,50,.2);
  color:var(--text)
}
.lead-dialog::backdrop {
  background:rgba(30,45,60,.32);
  backdrop-filter:blur(3px)
}
.lead-dialog .close {
  float:right;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#f1f4f7;
  font-size:20px
}
.lead-dialog h2 {
  font-size:28px;
  margin:8px 0 3px
}
.lead-dialog>p {
  color:var(--muted);
  margin:0 0 14px;
  font-size:15px;
  line-height:1.45
}
.detail-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:9px
}
.detail {
  padding:12px;
  border:1px solid #dbe3ea;
  border-radius:11px;
  background:#f8fafc
}
.detail strong,.detail span {
  display:block
}
.detail strong {
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#667689
}
.detail span {
  font-size:15px;
  margin-top:5px;
  line-height:1.45
}
.detail.full {
  grid-column:1/-1
}
@media(max-width:820px) {
  .sales-top,.package-grid {
    grid-template-columns:1fr
  }
  .value-grid,.steps {
    grid-template-columns:1fr
  }
  .feature-grid {
    grid-template-columns:1fr 1fr
  }
  .dashboard-head {
    align-items:flex-start;
    flex-direction:column
  }
  .demo-actions {
    width:100%
  }
  .demo-actions .demo-btn {
    flex:1
  }
  .stats {
    grid-template-columns:repeat(2,1fr)
  }
}
@media(max-width:620px) {
  .wrap {
    width:min(100% - 22px,1080px);
    padding:24px 0 50px
  }
  .demo-nav {
    position:sticky
  }
  .nav-inner {
    display:block;
    padding:9px 0 10px
  }
  .demo-label {
    display:block;
    margin-bottom:7px
  }
  .demo-nav nav {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:4px
  }
  .nav-btn {
    padding:9px 4px;
    font-size:10px;
    white-space:nowrap
  }
  .hero {
    padding:25px
  }
  .hero h1 {
    font-size:42px
  }
  .hero p {
    font-size:14px
  }
  .value-card strong {
    font-size:20px
  }
  .section {
    padding:20px
  }
  .feature-grid,.fields,.conditional {
    grid-template-columns:1fr
  }
  .package-tag {
    position:static;
    display:inline-block;
    margin-bottom:8px
  }
  .customer-hero,.form-card,.dashboard {
    padding:20px
  }
  .business-brand {
    margin-bottom:16px
  }
  .form-actions {
    display:grid;
    grid-template-columns:1fr 1fr
  }
  .form-actions .primary {
    grid-column:1/-1
  }
  .demo-btn {
    padding:10px 8px
  }
  .lead-top {
    flex-wrap:wrap
  }
  .status-wrap {
    flex-basis:100%
  }
  .detail-grid {
    grid-template-columns:1fr
  }
  .stats strong {
    font-size:26px
  }
  .filter {
    font-size:12px;
    padding:8px 10px
  }
  .dashboard-head h1 {
    font-size:38px
  }
}

/* Project Intake visual system shared by Sales, Customer, and Dashboard views. */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color:#2f4135;
}

.card {
  border-color:#ded8cc;
}

.hero {
  background:#fffdf9;
}

.hero h1,
.section h2,
.customer-hero h1,
.form-card h2,
.dashboard-head h1,
.lead-dialog h2 {
  font-family:Georgia,"Times New Roman",serif;
  color:#223028;
  letter-spacing:-.035em;
}

.hero h1,
.customer-hero h1 {
  line-height:1.04;
}

.pill,
.section-label {
  background:#edf2ec;
  color:#526057;
}

.primary,
.secondary,
.demo-btn {
  border-radius:999px;
}

.secondary {
  background:#eeeae2;
  color:#39463d;
}

.why-row,
.feature,
.package,
.steps>div,
.detail,
.stats>div,
.empty {
  border-color:#e0dbd2;
  background:#fbfaf7;
}

.package.featured {
  border-color:#bccdbd;
  background:#f4f7f2;
}

.package-tag {
  background:#dfe9dd;
  color:#355039;
}

.package-result,
.photo-preview span {
  border-color:#e0dbd2;
  background:#fff;
}

.fields input,
.fields select,
.fields textarea {
  border-color:#d6d1c7;
  background:#fcfbf8;
}

.fields input:focus,
.fields select:focus,
.fields textarea:focus {
  border-color:#7c927e;
  box-shadow:0 0 0 3px rgba(124,146,126,.12);
}

.conditional,
.upload,
.empty {
  border-color:#ded8cc;
  background:#fbfaf7;
}

.demo-btn {
  border-color:#d4b967;
  background:#fff8e6;
  color:#5b4d2d;
}

.success {
  border-color:#b8cfbf;
  background:#edf2ec;
}

.dashboard .filter,
.status-select,
.lead-card,
.lead-dialog,
.lead-dialog .close {
  border-color:#ded8cc;
}

.dashboard .filter,
.lead-card,
.lead-dialog {
  background:#fff;
}

.dashboard .filter {
  border-radius:999px;
}

.dashboard .filter.active {
  border-color:#2f4135;
  background:#2f4135;
}

.status-select,
.lead-dialog .close {
  background:#eeeae2;
  color:#39463d;
}

.quick-actions a {
  background:#2f4135;
}

.view-details {
  color:#2f4135;
}

.quote-forms-return{display:inline-flex;align-items:center;text-decoration:none}

@media(max-width:520px){.demo-nav nav{gap:3px}.nav-btn{min-width:0;min-height:38px;padding:7px 2px;font-size:8.5px;letter-spacing:0}}

.demo-nav .nav-btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1}
