:root {
  --ink: #121717;
  --muted: #5e6a67;
  --line: #dfe7e2;
  --paper: #ffffff;
  --mist: #f3f7f5;
  --teal: #126a5b;
  --teal-dark: #0b4c42;
  --copper: #b65335;
  --blue: #315f7a;
  --gold: #c79a3d;
  --shadow: 0 18px 50px rgba(17, 31, 28, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    -apple-system, BlinkMacSystemFont, sans-serif;
}

.internal-body {
  background: var(--mist);
}

main {
  display: flex;
  flex-direction: column;
}

#pain { order: 1; }
#plans { order: 2; }
#process { order: 3; }
#templates { order: 4; }
#sample { order: 5; }
#deliverables { order: 6; }
#reserve { order: 7; }
#ecosystem { order: 8; }
#cases { order: 9; }
#contact { order: 10; }

.intro,
#services,
.case-price,
.pricing-note,
.audit-pricing {
  display: none;
}

img {
  max-width: 100%;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 64px);
  color: #ffffff;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(18, 23, 23, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.nav-cta,
.hero-actions,
.case-topline,
.locked-row,
.reserve-item,
.text-link,
.contact-methods a,
.copy-btn,
.footer-inner {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: var(--teal);
  border-radius: 8px;
}

.nav {
  gap: 28px;
  font-size: 15px;
}

.nav a {
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta,
.primary-btn,
.secondary-btn {
  min-height: 44px;
  border-radius: 8px;
}

.nav-cta {
  gap: 8px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--teal);
  font-weight: 700;
}

.nav-cta svg,
.primary-btn svg,
.secondary-btn svg,
.text-link svg,
.contact-methods svg,
.copy-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 84vh;
  padding: 124px clamp(20px, 5vw, 64px) 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 19, 17, 0.84) 0%, rgba(7, 19, 17, 0.62) 37%, rgba(7, 19, 17, 0.1) 74%),
    linear-gradient(0deg, rgba(7, 19, 17, 0.22), rgba(7, 19, 17, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--copper);
  font-weight: 800;
  font-size: 14px;
}

.hero .eyebrow {
  color: #f3c066;
}

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

h1 {
  margin-bottom: 20px;
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: 0;
}

p {
  line-height: 1.75;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.primary-btn {
  color: #ffffff;
  background: var(--teal);
}

.primary-btn:hover {
  background: var(--teal-dark);
}

.secondary-btn {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 14px;
  margin: 0;
}

.hero-stats div {
  padding: 14px 16px;
  border-left: 3px solid #f3c066;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section,
.section-band {
  padding: 92px clamp(20px, 5vw, 64px);
}

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

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.intro-points {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 17px;
}

.intro-points p {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
}

.pain-grid,
.plan-grid,
.process-steps,
.consulting-grid {
  display: grid;
  gap: 18px;
}

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

.pain-grid article,
.plan-card,
.process-steps article,
.consulting-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.pain-grid article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 18px;
  color: #273330;
  font-weight: 900;
}

.pain-grid svg,
.plan-card > svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
  flex: 0 0 auto;
}

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

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px;
}

.plan-card p,
.process-steps p,
.consulting-grid p {
  color: var(--muted);
}

.plan-card a,
.consulting-grid a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 900;
}

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

.process-steps article {
  min-height: 220px;
  padding: 24px;
}

.process-steps span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--copper);
  font-weight: 900;
}

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

.consulting-grid article {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
}

.consulting-grid strong {
  display: block;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 26px;
  line-height: 1.2;
}

.sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.floorplan-panel,
.sample-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.floorplan-panel {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.floorplan-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.floorplan-head h3 {
  margin: 8px 0 0;
}

.floorplan {
  width: 100%;
  height: auto;
  display: block;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.floorplan-stage {
  position: relative;
  width: 100%;
  background: #f8fbfa;
  border-radius: 8px;
}

.room-bg {
  fill: #edf4f1;
}

.room {
  fill: #ffffff;
  stroke: #293935;
  stroke-width: 4;
}

.room-label {
  fill: #263632;
  font-size: 24px;
  font-weight: 900;
  text-anchor: middle;
}

.room-label.small {
  font-size: 20px;
}

.door-lines path {
  fill: none;
  stroke: #c79a3d;
  stroke-width: 7;
  stroke-linecap: round;
}

.device-dot {
  position: absolute;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  padding: 0;
  border: 3px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  box-shadow: 0 7px 16px rgba(18, 23, 23, 0.22);
  cursor: pointer;
  outline: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.device-dot span {
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.device-dot:hover,
.device-dot:focus,
.device-dot.is-active {
  transform: scale(1.2);
  box-shadow: 0 10px 24px rgba(18, 23, 23, 0.3);
}

.device-dot.ap span,
.device-dot.safety span {
  font-size: 9px;
}

.switch circle,
.legend-dot.switch,
.device-dot.switch {
  fill: var(--teal);
  background: var(--teal);
}

.sensor circle,
.legend-dot.sensor,
.device-dot.sensor {
  fill: var(--blue);
  background: var(--blue);
}

.curtain circle,
.legend-dot.curtain,
.device-dot.curtain {
  fill: var(--gold);
  background: var(--gold);
}

.ap circle,
.legend-dot.ap,
.device-dot.ap {
  fill: #6a55a3;
  background: #6a55a3;
}

.gateway circle,
.legend-dot.gateway,
.device-dot.gateway {
  fill: #33433f;
  background: #33433f;
}

.camera circle,
.legend-dot.camera,
.safety circle,
.legend-dot.safety,
.device-dot.camera,
.device-dot.safety {
  fill: var(--copper);
  background: var(--copper);
}

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

.legend-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 10px;
  color: #35413e;
  background: #f8fbfa;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.device-tooltip {
  position: absolute;
  z-index: 4;
  display: none;
  width: min(280px, calc(100% - 40px));
  padding: 12px 14px;
  color: #ffffff;
  background: rgba(17, 25, 24, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow);
  pointer-events: none;
  line-height: 1.55;
  font-size: 13px;
}

.device-tooltip.is-visible {
  display: block;
}

.device-tooltip strong {
  display: block;
  margin-bottom: 4px;
  color: #f3c066;
}

.device-detail {
  margin-top: 16px;
  padding: 18px 20px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.device-detail h3 {
  margin: 8px 0 8px;
}

.device-detail p {
  margin-bottom: 0;
  color: var(--muted);
}

.sample-sidebar {
  display: grid;
  gap: 18px;
}

.sample-card {
  padding: 24px;
}

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

.check-list li {
  position: relative;
  padding-left: 22px;
  color: #35413e;
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 999px;
}

.locked-sample {
  display: flex;
  gap: 12px;
  color: var(--copper);
  background: #fff3ef;
}

.locked-sample svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.locked-sample p {
  margin: 0;
  color: var(--copper);
  font-weight: 800;
  line-height: 1.65;
}

.budget-table {
  display: grid;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.budget-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.6fr 1fr;
  border-top: 1px solid var(--line);
}

.budget-row:first-child {
  border-top: 0;
}

.budget-row span {
  padding: 16px;
  color: #35413e;
  line-height: 1.6;
  border-left: 1px solid var(--line);
}

.budget-row span:first-child {
  border-left: 0;
}

.budget-row strong {
  display: block;
  color: var(--teal);
  font-size: 18px;
}

.budget-head {
  background: var(--teal);
}

.budget-head span {
  color: #ffffff;
  font-weight: 900;
}

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

.plan-preview-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.plan-preview-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 22px 18px;
}

.plan-preview-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.plan-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 900;
}

.mini-plan-stage {
  position: relative;
  min-height: 390px;
  margin: 0 22px 22px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.mini-plan-stage img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.68;
  filter: grayscale(1) contrast(1.08);
}

.plan-pin {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  color: #ffffff;
  border: 3px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(18, 23, 23, 0.2);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.plan-note {
  position: absolute;
  z-index: 3;
  max-width: 150px;
  padding: 6px 8px;
  color: #222b29;
  background: #f3dc62;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(18, 23, 23, 0.12);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.plan-note::before {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -18px;
  width: 1px;
  height: 18px;
  background: rgba(18, 23, 23, 0.42);
}

.plan-note.locked {
  max-width: 220px;
  color: var(--copper);
  background: #fff3ef;
  border: 1px solid #f1c9bc;
}

.signal-ring {
  position: absolute;
  z-index: 1;
  width: 190px;
  height: 190px;
  margin: -95px 0 0 -95px;
  border: 2px solid rgba(18, 106, 91, 0.32);
  border-radius: 999px;
  background: rgba(18, 106, 91, 0.07);
}

.signal-ring.wide {
  width: 260px;
  height: 260px;
  margin: -130px 0 0 -130px;
  border-color: rgba(49, 95, 122, 0.26);
  background: rgba(49, 95, 122, 0.06);
}

.template-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.template-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.template-card > svg {
  width: 34px;
  height: 34px;
  color: var(--teal);
}

.template-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.deliverable-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.deliverable-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.deliverable-grid svg {
  width: 26px;
  height: 26px;
  margin-bottom: 18px;
  color: var(--teal);
}

.deliverable-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.case-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.case-card,
.service-card,
.audit-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(18, 23, 23, 0.03);
}

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
}

.case-topline {
  justify-content: space-between;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.case-topline svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.case-card p {
  color: var(--muted);
}

.case-price {
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 10px;
  color: var(--teal) !important;
  background: #eef7f4;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
}

.case-card ul {
  display: grid;
  gap: 10px;
  margin: 8px 0 22px;
  padding-left: 20px;
  color: #35413e;
  line-height: 1.6;
}

.locked-row {
  gap: 8px;
  margin-top: auto;
  padding: 13px 14px;
  color: var(--copper);
  background: #fff3ef;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.locked-row svg {
  width: 17px;
  height: 17px;
}

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.pricing-note p {
  max-width: 800px;
  margin: 8px 0 0;
  color: var(--muted);
}

.note-label,
.audit-tag {
  display: inline-flex;
  color: var(--copper);
  font-size: 14px;
  font-weight: 900;
}

.reserve-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

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

.reserve-item {
  align-items: flex-start;
  gap: 18px;
  min-height: 148px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reserve-item svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
  flex: 0 0 auto;
}

.reserve-item p,
.audit-panel p,
.service-card p,
.contact-copy p {
  color: var(--muted);
}

.audit-panel {
  position: sticky;
  top: 96px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.audit-tag {
  margin-bottom: 16px;
}

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

.audit-pricing article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.audit-pricing span {
  display: block;
  margin-bottom: 10px;
  color: #35413e;
  font-weight: 900;
}

.audit-pricing strong {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 25px;
  line-height: 1.2;
}

.audit-pricing p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 18px;
}

.ecosystem-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.featured-ecosystem {
  border-color: rgba(18, 106, 91, 0.42);
  box-shadow: var(--shadow);
}

.ecosystem-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--teal);
  background: #eef7f4;
  border-radius: 8px;
}

.ecosystem-icon svg {
  width: 23px;
  height: 23px;
}

.ecosystem-card p {
  color: var(--muted);
}

.ecosystem-card a {
  color: var(--teal);
  font-weight: 900;
}

.ecosystem-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: #35413e;
  line-height: 1.65;
}

.scenario-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
}

.scenario-flow span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--teal-dark);
  background: #eef7f4;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.scenario-flow svg {
  width: 18px;
  height: 18px;
  color: var(--copper);
}

.fine-print {
  margin-bottom: 0;
  font-size: 14px;
}

.ecosystem-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 20px 22px;
  color: #273330;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ecosystem-note svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
  flex: 0 0 auto;
}

.ecosystem-note p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  gap: 8px;
  width: fit-content;
  margin-top: 24px;
  color: var(--teal);
  font-weight: 900;
}

.service-card {
  min-height: 250px;
  padding: 26px;
}

.service-card.featured {
  border-color: rgba(18, 106, 91, 0.45);
  box-shadow: var(--shadow);
}

.price {
  margin-bottom: 18px;
  color: var(--teal) !important;
  font-size: 26px;
  font-weight: 900;
}

.service-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.internal-tool {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}

.internal-hero {
  max-width: 760px;
  margin-bottom: 28px;
}

.internal-hero h1 {
  margin-bottom: 16px;
  font-size: 42px;
  color: var(--ink);
}

.internal-hero p {
  color: var(--muted);
}

.internal-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.generator-column {
  display: grid;
  gap: 20px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a,
.copy-btn {
  gap: 10px;
  width: fit-content;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
}

.copy-btn {
  appearance: none;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #273330;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #cfdad5;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
  min-height: 116px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 106, 91, 0.14);
}

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

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  white-space: pre-wrap;
}

.form-note.is-ready {
  padding: 14px;
  color: #273330;
  background: var(--mist);
  border-radius: 8px;
}

.deliverable-output {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.deliverable-output[hidden] {
  display: none;
}

.deliverable-output-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.deliverable-output-head h3 {
  margin: 6px 0 0;
}

.deliverable-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.deliverable-actions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--mist);
  font-weight: 800;
  cursor: pointer;
}

.deliverable-actions svg {
  width: 17px;
  height: 17px;
}

.deliverable-preview {
  display: grid;
  gap: 18px;
}

.deliverable-preview section {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.deliverable-preview section:first-child {
  padding-top: 0;
  border-top: 0;
}

.deliverable-preview h4 {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 16px;
}

.deliverable-preview ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #35413e;
  line-height: 1.65;
}

.generated-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: auto;
}

.generated-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr 1fr 1.4fr;
  min-width: 720px;
  border-top: 1px solid var(--line);
}

.generated-row:first-child {
  border-top: 0;
}

.generated-row span {
  padding: 11px 12px;
  border-left: 1px solid var(--line);
  color: #35413e;
  line-height: 1.5;
  font-size: 14px;
}

.generated-row span:first-child {
  border-left: 0;
}

.generated-head {
  background: var(--teal);
}

.generated-head span {
  color: #ffffff;
  font-weight: 900;
}

.footer {
  padding: 26px clamp(20px, 5vw, 64px);
  color: #ffffff;
  background: #111918;
}

.footer-inner {
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .case-grid,
  .service-grid,
  .pain-grid,
  .plan-grid,
  .process-steps,
  .consulting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reserve-layout,
  .contact-layout,
  .internal-grid,
  .intro-grid,
  .ecosystem-grid,
  .template-layout,
  .sample-layout {
    grid-template-columns: 1fr;
  }

  .template-card {
    grid-template-columns: auto 1fr;
  }

  .template-card .primary-btn {
    grid-column: 1 / -1;
    width: fit-content;
  }

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

  .audit-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 66px;
    padding: 0 16px;
  }

  .nav {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero {
    min-height: 88vh;
    padding: 104px 20px 48px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 19, 17, 0.88) 0%, rgba(7, 19, 17, 0.7) 58%, rgba(7, 19, 17, 0.18) 100%),
      linear-gradient(0deg, rgba(7, 19, 17, 0.3), rgba(7, 19, 17, 0.12));
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 28px;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .section,
  .section-band {
    padding: 68px 20px;
  }

  .case-grid,
  .service-grid,
  .reserve-list,
  .audit-pricing,
  .legend-grid,
  .deliverable-grid,
  .plan-preview-grid,
  .pain-grid,
  .plan-grid,
  .process-steps,
  .consulting-grid {
    grid-template-columns: 1fr;
  }

  .plan-card,
  .process-steps article,
  .consulting-grid article {
    min-height: 0;
  }

  .floorplan-panel {
    padding: 16px;
  }

  .floorplan-head {
    flex-direction: column;
  }

  .floorplan-stage {
    min-width: 680px;
  }

  .floorplan-panel {
    overflow-x: auto;
    overflow-y: visible;
  }

  .plan-preview-card {
    overflow-x: auto;
  }

  .mini-plan-stage {
    min-width: 620px;
    min-height: 440px;
  }

  .budget-row,
  .budget-head {
    grid-template-columns: 1fr;
  }

  .budget-head {
    display: none;
  }

  .budget-row span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .budget-row span:first-child {
    border-top: 0;
  }

  .scenario-flow {
    grid-template-columns: 1fr;
  }

  .scenario-flow svg {
    justify-self: center;
    transform: rotate(90deg);
  }

  .case-card {
    min-height: 0;
  }

  .lead-form {
    padding: 22px;
  }

  .deliverable-output {
    padding: 20px;
  }

  .deliverable-output-head {
    flex-direction: column;
  }

  .pricing-note {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 420px) {
  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: 36px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }
}

#services,
.intro,
.case-price,
.pricing-note,
.audit-pricing {
  display: none !important;
}
