:root {
  --bg: #07090c;
  --bg-2: #0d1117;
  --panel: #121821;
  --panel-2: #19212c;
  --metal: #2c3440;
  --metal-light: #77828f;
  --line: #333d49;
  --ink: #f4f7fb;
  --muted: #aab5c2;
  --soft: #d8e0e8;
  --green: #0fa374;
  --green-2: #35d37c;
  --blue: #5db6ff;
  --amber: #f0a33c;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 70% 0%, rgba(68, 82, 98, 0.35), transparent 34rem),
    linear-gradient(135deg, #07090c 0%, #0b0f14 42%, #121820 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  padding: 0 32px;
  background: rgba(7, 9, 12, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand-logo {
  display: block;
  width: auto;
  height: 56px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

nav a {
  padding: 9px 12px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
}

nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

nav a[aria-current="page"] {
  color: #fff;
  background: rgba(15, 163, 116, 0.22);
}

.viewer-body {
  min-height: 100vh;
  background: #20252d;
}

.viewer-header {
  position: sticky;
}

.viewer-app {
  min-height: calc(100vh - 66px);
  color: #eef4fb;
  background: #20252d;
}

.viewer-toolbar {
  position: sticky;
  top: 66px;
  z-index: 15;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: #2b323d;
  border-bottom: 1px solid #404956;
}

.viewer-toolbar label,
.viewer-toolbar button,
.viewer-toolbar select {
  font: inherit;
}

.viewer-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dfe8f2;
  font-size: 13px;
}

.viewer-toolbar select,
.viewer-toolbar button,
.viewer-file {
  min-height: 34px;
  border: 1px solid #536071;
  border-radius: 6px;
  color: #fff;
  background: #343c48;
}

.viewer-toolbar select {
  min-width: 150px;
  padding: 0 8px;
}

.viewer-toolbar #zoomSelect {
  min-width: 86px;
}

.viewer-toolbar button {
  padding: 0 12px;
  cursor: pointer;
}

.viewer-toolbar #zoomInBtn,
.viewer-toolbar #zoomOutBtn {
  width: 34px;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
}

.viewer-toolbar button:hover:not(:disabled),
.viewer-file:hover {
  border-color: #7fa1c8;
  background: #3f4856;
}

.viewer-toolbar button:disabled,
.viewer-toolbar select:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.viewer-file {
  position: relative;
  overflow: hidden;
  padding: 7px 12px;
  cursor: pointer;
}

.viewer-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.viewer-check input {
  width: 16px;
  height: 16px;
}

.viewer-status {
  flex: 1 1 260px;
  min-width: 180px;
  color: #aab7c6;
  font-size: 13px;
  text-align: right;
}

.viewer-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  min-height: calc(100vh - 118px);
}

.viewer-side {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
  border-right: 1px solid #3d4652;
  background: #252b35;
}

.viewer-panel {
  padding: 12px;
  border: 1px solid #404956;
  border-radius: 8px;
  background: #1f252e;
}

.viewer-panel h1,
.viewer-panel h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.viewer-panel h2 {
  font-size: 15px;
}

.viewer-panel p,
.viewer-muted {
  margin: 0;
  color: #aeb9c7;
  font-size: 13px;
}

.viewer-warning {
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.12);
  color: #f8d99b;
  font-size: 13px;
  line-height: 1.35;
}

.viewer-list {
  display: grid;
  gap: 6px;
  max-height: 34vh;
  overflow: auto;
}

.viewer-samples {
  display: grid;
  gap: 7px;
}

.viewer-sample-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
}

.viewer-samples a,
.viewer-samples button {
  display: block;
  padding: 8px 10px;
  border: 1px solid #465363;
  border-radius: 6px;
  color: #eef4fb;
  background: #2b333f;
  font-size: 13px;
  text-decoration: none;
}

.viewer-samples button {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.viewer-sample-row a {
  color: #aeb9c7;
  font-size: 12px;
}

.viewer-sample-pdf {
  color: #aeb9c7;
}

.viewer-samples a:hover,
.viewer-samples button:hover {
  border-color: #6d91bd;
  background: #35404e;
}

.viewer-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 2px 8px;
  width: 100%;
  padding: 8px;
  border: 1px solid #3d4652;
  border-radius: 6px;
  color: #eaf1f8;
  background: #2a313b;
  text-align: left;
  cursor: pointer;
}

.viewer-item:hover,
.viewer-item.is-active {
  border-color: #35d37c;
  background: #183428;
}

.viewer-item span {
  grid-row: span 2;
  color: #9fb0c3;
  font-size: 12px;
}

.viewer-item strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viewer-item em {
  color: #aab7c6;
  font-size: 12px;
  font-style: normal;
}

.viewer-results table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  font-size: 12px;
}

.viewer-results th,
.viewer-results td {
  padding: 6px;
  border-bottom: 1px solid #3d4652;
  text-align: left;
  vertical-align: top;
}

.viewer-results th {
  color: #fff;
  background: #313946;
}

.viewer-results .viewer-group-row td {
  border-bottom-color: #46515f;
  color: #ffffff;
  font-weight: 700;
  background: #252d38;
}

.viewer-results .viewer-group-level-2 td {
  padding-left: 18px;
  background: #2a3340;
}

.viewer-results .viewer-group-level-3 td,
.viewer-results .viewer-group-level-4 td {
  padding-left: 30px;
  background: #303a47;
}

.viewer-results td:nth-child(3),
.viewer-results th:nth-child(3) {
  text-align: right;
}

.viewer-workspace {
  min-width: 0;
  background: #9fa3a9;
}

.viewer-stage-wrap {
  overflow: auto;
  padding: 18px;
  background: #9fa3a9;
}

.viewer-stage {
  position: relative;
  margin: 0 auto;
  min-width: 240px;
  min-height: 240px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

#pdfCanvas,
#takeoffOverlay {
  position: absolute;
  inset: 0;
  display: block;
}

#takeoffOverlay {
  z-index: 2;
  pointer-events: auto;
  overflow: hidden;
}

#takeoffOverlay.is-drawing {
  cursor: crosshair;
}

.viewer-measurement {
  vector-effect: non-scaling-stroke;
  transition: opacity 120ms ease, filter 120ms ease;
}

.viewer-measurement.is-muted {
  opacity: 0.16;
}

.viewer-measurement.is-active > * {
  filter: drop-shadow(0 0 7px rgba(53, 211, 124, 0.95));
}

.viewer-quantity-panel {
  display: grid;
  gap: 12px;
  padding: 0 18px 18px;
}

.viewer-quantity-panel .viewer-results {
  overflow: auto;
  border: 1px solid #404956;
  border-radius: 8px;
  background: #1f252e;
}

.viewer-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px 0;
}

.viewer-results h2 {
  margin: 0;
  color: #fff;
  font-size: 15px;
}

.viewer-quantity-panel .viewer-results table {
  margin: 10px 0 0;
}

.viewer-quantity-panel .viewer-results th,
.viewer-quantity-panel .viewer-results td {
  border-right: 1px solid #3d4652;
}

.viewer-quantity-panel .viewer-results th:last-child,
.viewer-quantity-panel .viewer-results td:last-child {
  border-right: 0;
}

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

  .viewer-side {
    border-right: 0;
    border-bottom: 1px solid #3d4652;
  }

  .viewer-status {
    text-align: left;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(520px, 1.22fr);
  align-items: center;
  gap: 42px;
  min-height: calc(100vh - 66px);
  padding: 58px 42px 46px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.05), transparent 34%),
    radial-gradient(circle at 88% 55%, rgba(15, 163, 116, 0.2), transparent 28rem);
}

.hero-watermark {
  position: absolute;
  top: 44px;
  left: 42px;
  width: min(720px, 58vw);
  max-width: 78%;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 24px 70px rgba(255, 255, 255, 0.16));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
  background: linear-gradient(180deg, #fff 0%, #aeb9c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-logo-title {
  width: min(590px, 100%);
  line-height: 1;
  background: none;
  color: inherit;
}

.hero-logo-title img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: contain;
  object-position: left center;
  filter:
    drop-shadow(0 16px 46px rgba(255, 255, 255, 0.08))
    drop-shadow(0 24px 70px rgba(0, 0, 0, 0.46));
}

h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 19px;
  letter-spacing: 0;
}

.lead {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: 21px;
}

.hero-impact {
  display: grid;
  gap: 8px;
  max-width: 620px;
  margin-top: 22px;
}

.hero-impact span {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  color: #d7e2ee;
  background: rgba(6, 12, 18, 0.42);
}

.hero-impact b {
  flex: 0 0 auto;
  color: #ffffff;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  color: #fff;
  background: linear-gradient(180deg, #16a87c, #0b765e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 12px 28px rgba(15, 163, 116, 0.18);
}

.button.primary:hover {
  background: linear-gradient(180deg, #1ab98a, #0c8066);
}

.button.secondary {
  color: #fff;
  background: linear-gradient(180deg, #252d38, #151b23);
  border-color: #46515d;
}

.button.secondary:hover {
  border-color: #8f9baa;
}

.product-scene {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.app-frame,
.software-window,
.budget-preview,
.download-card,
.workflow-grid article,
.visual-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-software {
  overflow: hidden;
}

.app-titlebar,
.window-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 7px 10px;
  color: #dce5ef;
  background: linear-gradient(180deg, #38424d, #232a33);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 16px 0 0 #e3a33d, 32px 0 0 #c35252;
}

.app-titlebar span:last-child {
  margin-left: 46px;
}

.app-topbar,
.tool-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 7px 8px;
  color: #fff;
  background: #202730;
  font-size: 12px;
}

.tool-strip {
  border-top: 1px solid #303946;
  border-bottom: 1px solid #303946;
  background: #161d25;
}

.tool-strip b {
  color: var(--muted);
}

.app-topbar span,
.app-topbar strong,
.tool-strip span {
  padding: 7px 10px;
  border: 1px solid #3f4a57;
  border-radius: 5px;
  background: linear-gradient(180deg, #36404c, #27303a);
  white-space: nowrap;
}

.app-topbar strong {
  flex: 1;
  min-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 800;
}

.app-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 470px;
}

.app-body aside {
  padding: 16px;
  color: #fff;
  background: #202730;
  border-right: 1px solid #35404c;
}

.app-body b {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
}

.item-row,
.budget-line {
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid #46515f;
  border-radius: 5px;
  background: #2b3541;
  font-size: 13px;
}

.item-row.active {
  border-color: var(--green-2);
  background: #163b2b;
}

.drawing {
  padding: 22px;
  background: #0f1419;
}

.drawing svg {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.section {
  padding: 90px 42px;
}

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

.section-heading p,
.split-section p,
.contact-section p,
.download-card p {
  color: var(--muted);
  font-size: 18px;
}

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

.workflow-grid article {
  min-height: 218px;
  padding: 22px;
}

.outcome-band {
  background:
    linear-gradient(180deg, rgba(15, 163, 116, 0.1), rgba(255, 255, 255, 0.02)),
    #101721;
}

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

.outcome-grid article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.56);
}

.outcome-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 6px;
  color: #06110d;
  background: #6ff0b4;
  font-weight: 900;
}

.outcome-grid p {
  color: var(--muted);
}

.workflow-grid p,
.visual-card p,
.software-card p {
  color: var(--muted);
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  margin-bottom: 28px;
  color: #fff;
  border-radius: 5px;
  background: linear-gradient(180deg, #4f5d6c, #252d38);
  border: 1px solid #697684;
  font-size: 13px;
  font-weight: 900;
}

.pdf-takeoff-section {
  background:
    radial-gradient(circle at 20% 15%, rgba(93, 182, 255, 0.12), transparent 26rem),
    #090d12;
}

.takeoff-showcase {
  display: grid;
  grid-template-columns: minmax(460px, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.pdf-sheet,
.takeoff-panel {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pdf-sheet {
  overflow: hidden;
  background: #dfe6ed;
}

.sheet-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(180deg, #313b47, #202832);
}

.sheet-toolbar span {
  padding: 7px 10px;
  color: #fff;
  border: 1px solid #485463;
  border-radius: 5px;
  background: #252f3a;
  font-size: 12px;
  font-weight: 800;
}

.pdf-sheet svg {
  display: block;
  width: 100%;
  background: #e7edf2;
}

.takeoff-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    #111720;
}

.takeoff-panel p {
  color: var(--muted);
}

.takeoff-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid #3d4856;
  border-radius: 6px;
  background: #1d2530;
}

.takeoff-metric span {
  color: var(--muted);
}

.takeoff-metric b {
  color: #fff;
  white-space: nowrap;
}

.software-views {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

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

.software-card {
  min-width: 0;
}

.software-card h3,
.software-card p {
  padding: 0 4px;
}

.software-card h3 {
  margin-top: 18px;
}

.software-window {
  overflow: hidden;
  min-height: 360px;
  background: #111720;
}

.measure-layout {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 326px;
}

.side-panel,
.help-tree {
  padding: 14px;
  background: #1d2530;
  border-right: 1px solid #384452;
}

.side-panel b,
.side-panel span,
.help-tree span {
  display: block;
}

.side-panel b {
  margin-bottom: 10px;
  font-size: 12px;
}

.side-panel span,
.help-tree span {
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 5px;
  background: #2a3440;
  color: #e9f0f7;
  font-size: 12px;
}

.canvas-panel {
  padding: 14px;
  background: #0f1419;
}

.canvas-panel svg {
  width: 100%;
  height: 100%;
}

.budget-table {
  padding: 14px;
}

.budget-row {
  display: grid;
  grid-template-columns: 0.8fr 2fr 0.9fr 0.8fr;
  min-height: 46px;
  align-items: center;
  border-bottom: 1px solid #303b47;
}

.budget-row span {
  min-width: 0;
  padding: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.budget-head {
  background: #2a3440;
  color: #fff;
  font-weight: 900;
}

.budget-note,
.table-note {
  padding: 11px 12px;
  color: #ffd99a;
  background: rgba(240, 163, 60, 0.08);
  border-bottom: 1px solid #303b47;
  font-size: 13px;
}

.help-layout {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 326px;
}

.help-demo {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px;
  background: #0f1419;
}

.layer {
  padding: 14px;
  border: 1px solid #54606e;
  border-radius: 5px;
  background: #242d38;
}

.layer.selected {
  border-color: var(--green-2);
  background: #173927;
}

.layer em {
  float: right;
  color: var(--amber);
  font-style: normal;
  font-size: 12px;
}

.net-result {
  padding: 14px;
  color: #fff;
  border: 1px solid var(--green-2);
  border-radius: 5px;
  background: rgba(15, 163, 116, 0.18);
  font-weight: 900;
}

.workflow-animation {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(620px, 1.25fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 30px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    #101720;
  box-shadow: var(--shadow);
}

.animation-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.animation-copy p {
  color: var(--muted);
}

.animated-workspace {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 12px;
  min-width: 0;
}

.plan-panel,
.sublayer-panel,
.animated-budget-panel {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #34404d;
  border-radius: 6px;
  background: #0f1419;
}

.panel-title {
  min-height: 34px;
  padding: 9px 11px;
  color: #fff;
  background: linear-gradient(180deg, #35404c, #222a34);
  border-bottom: 1px solid #34404d;
  font-size: 13px;
  font-weight: 900;
}

.plan-panel svg {
  display: block;
  width: 100%;
  height: calc(100% - 34px);
  min-height: 260px;
}

.plan-base-wall {
  fill: none;
  stroke: #8994a1;
  stroke-width: 13;
  stroke-linecap: round;
  opacity: 0.25;
}

.plan-wall-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 13;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  animation: planWallDraw 8s infinite;
}

.plan-door {
  fill: rgba(93, 182, 255, 0.28);
  stroke: var(--blue);
  stroke-width: 4;
  opacity: 0;
  animation: planDoorIn 8s infinite;
}

.plan-door-link {
  fill: none;
  stroke: var(--amber);
  stroke-width: 3;
  stroke-dasharray: 8 7;
  opacity: 0;
  animation: planDoorLinkIn 8s infinite;
}

.plan-door-node {
  fill: var(--amber);
  opacity: 0;
  animation: planDoorLinkIn 8s infinite;
}

.plan-label,
.plan-door-label {
  fill: #111820;
  font-size: 15px;
  font-weight: 900;
  opacity: 0;
}

.plan-label {
  animation: planLabelIn 8s infinite;
}

.plan-door-label {
  animation: planDoorIn 8s infinite;
}

.sublayer-panel,
.animated-budget-panel {
  padding: 0 12px 12px;
}

.animated-layer,
.animated-budget-group,
.animated-budget-row,
.animated-budget-note {
  opacity: 0;
  transform: translateY(10px);
}

.animated-layer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 8px;
  align-items: center;
  min-height: 52px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #46515d;
  border-radius: 5px;
  background: #202832;
}

.animated-layer span {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.animated-layer b {
  justify-self: end;
  padding: 4px 7px;
  color: #111820;
  border-radius: 4px;
  background: #f3f7fb;
  font-size: 11px;
}

.animated-layer em {
  grid-column: 1 / -1;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.layer-a {
  border-color: #8b96a4;
  animation: workflowItemIn 8s infinite 1.8s;
}

.layer-b {
  border-color: var(--blue);
  animation: workflowItemIn 8s infinite 2.4s;
}

.layer-c {
  border-color: var(--green-2);
  animation: workflowItemIn 8s infinite 3s;
}

.animated-budget-group {
  margin-top: 10px;
  padding: 8px 10px;
  color: #ffffff;
  border: 1px solid #46515d;
  border-radius: 5px 5px 0 0;
  background: #2a3440;
  font-size: 12px;
  font-weight: 900;
}

.animated-budget-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 8px;
  align-items: center;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid #303b47;
  border-top: 0;
  background: #151c24;
}

.animated-budget-row span {
  min-width: 0;
  overflow: hidden;
  color: var(--soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.animated-budget-row b {
  color: #fff;
  text-align: right;
  white-space: nowrap;
}

.group-a,
.row-a {
  animation: workflowItemIn 8s infinite 4s;
}

.group-b,
.row-b {
  animation: workflowItemIn 8s infinite 4.6s;
}

.group-c,
.row-c {
  animation: workflowItemIn 8s infinite 5.2s;
}

.group-d,
.row-d {
  animation: workflowItemIn 8s infinite 5.8s;
}

.row-e {
  animation: workflowItemIn 8s infinite 6.2s;
}

.animated-budget-note {
  margin-top: 12px;
  padding: 10px;
  color: #ffd99a;
  border: 1px solid rgba(240, 163, 60, 0.4);
  border-radius: 5px;
  background: rgba(240, 163, 60, 0.1);
  font-size: 12px;
  animation: workflowItemIn 8s infinite 6.6s;
}

@keyframes planWallDraw {
  0%, 12% {
    stroke-dashoffset: 264;
  }
  28%, 100% {
    stroke-dashoffset: 0;
  }
}

@keyframes planDoorIn {
  0%, 32% {
    opacity: 0;
  }
  42%, 100% {
    opacity: 1;
  }
}

@keyframes planDoorLinkIn {
  0%, 44% {
    opacity: 0;
  }
  54%, 100% {
    opacity: 1;
  }
}

@keyframes planLabelIn {
  0%, 24% {
    opacity: 0;
  }
  34%, 100% {
    opacity: 1;
  }
}

@keyframes workflowItemIn {
  0%, 18% {
    opacity: 0;
    transform: translateY(10px);
  }
  26%, 78% {
    opacity: 1;
    transform: translateY(0);
  }
  88%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
}

.help-promise {
  background:
    linear-gradient(135deg, rgba(15, 163, 116, 0.14), rgba(93, 182, 255, 0.08)),
    #0b1016;
}

.help-promise-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(460px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.help-promise-grid > div:first-child p {
  color: var(--soft);
  font-size: 18px;
}

.help-feature-list {
  display: grid;
  gap: 14px;
}

.help-feature-list article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    #121821;
}

.help-feature-list p {
  margin: 0;
  color: var(--muted);
}

.feature-band {
  background: #090c10;
}

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

.visual-card {
  overflow: hidden;
}

.visual-card h3 {
  padding: 20px 20px 0;
}

.visual-card svg {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
}

.visual-card p {
  margin: 0;
  padding: 18px 20px 22px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(460px, 1.1fr);
  gap: 40px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--soft);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 14px rgba(53, 211, 124, 0.65);
}

.budget-preview {
  overflow: hidden;
  background: #111720;
}

.table-row {
  display: grid;
  grid-template-columns: 0.7fr 2.2fr 0.9fr 0.8fr;
  min-height: 48px;
  align-items: center;
  border-bottom: 1px solid #34404d;
}

.table-row span {
  min-width: 0;
  padding: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-row.head {
  background: #2d3743;
  font-weight: 900;
}

.download-section {
  background:
    linear-gradient(180deg, rgba(15, 163, 116, 0.08), rgba(15, 163, 116, 0.02)),
    #0a0e13;
}

.quantity-control-section {
  background:
    radial-gradient(circle at 78% 20%, rgba(240, 163, 60, 0.13), transparent 28rem),
    #080b0f;
}

.standards-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(93, 182, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #0b1016, #080b0f);
}

.standards-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
  gap: 22px;
}

.hierarchy-browser,
.budget-hierarchy-view {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    #121821;
  box-shadow: var(--shadow);
}

.hierarchy-browser {
  padding: 18px;
}

.browser-title,
.budget-title {
  margin-bottom: 16px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.tree-row {
  min-height: 38px;
  margin-bottom: 7px;
  padding: 9px 11px;
  color: var(--soft);
  border: 1px solid #35404c;
  border-radius: 5px;
  background: #1b232d;
  font-size: 14px;
}

.tree-row::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-right: 2px solid var(--metal-light);
  border-bottom: 2px solid var(--metal-light);
  transform: rotate(-45deg);
}

.tree-row.open::before {
  transform: rotate(45deg);
}

.tree-row.level-2 {
  margin-left: 18px;
}

.tree-row.level-3 {
  margin-left: 36px;
}

.tree-row.level-4 {
  margin-left: 54px;
}

.tree-row.active {
  color: #fff;
  border-color: var(--green-2);
  background: rgba(15, 163, 116, 0.24);
}

.budget-hierarchy-view {
  overflow: hidden;
  padding: 18px;
}

.budget-toolbar,
.budget-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.budget-toolbar {
  margin-bottom: 8px;
}

.budget-toolbar span,
.budget-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid #46515d;
  border-radius: 5px;
  background: linear-gradient(180deg, #333d49, #242c36);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.budget-toolbar span:first-child {
  background: #f3f7fb;
  color: #111820;
  border-color: #f3f7fb;
}

.budget-actions {
  margin-bottom: 10px;
}

.real-budget-table {
  overflow: hidden;
  border: 1px solid #333d49;
  border-radius: 5px;
  background: #111720;
}

.real-budget-row {
  display: grid;
  grid-template-columns: 0.85fr 2.2fr 0.75fr 0.55fr 0.85fr 0.75fr 0.85fr 1.6fr;
  min-height: 40px;
  border-bottom: 1px solid #303b47;
}

.real-budget-row span {
  min-width: 0;
  padding: 10px 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--soft);
  border-right: 1px solid #303b47;
  font-size: 12px;
}

.real-budget-head {
  background: #35404c;
  font-weight: 900;
}

.real-budget-head span {
  color: #fff;
}

.group-row {
  background: #1d2834;
  font-weight: 900;
}

.group-row.sub span:nth-child(2) {
  padding-left: 24px;
}

.total-row {
  background: #173927;
  font-weight: 900;
}

.total-row span {
  color: #fff;
}

.budget-hierarchy-view p {
  margin: 18px 0 0;
  color: var(--muted);
}

.quantity-control-grid {
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(360px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.quantity-visual,
.quantity-rules article {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    #121821;
}

.quantity-visual {
  padding: 22px;
  box-shadow: var(--shadow);
}

.wall-section-title {
  margin-bottom: 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.wall-section {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 320px;
  padding: 32px 28px;
  border: 1px solid #44505f;
  border-radius: 6px;
  background: #0f1419;
}

.wall-layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 5px;
  color: #fff;
  font-weight: 900;
}

.wall-layer.finish {
  padding-right: 176px;
}

.wall-layer span {
  color: #111820;
  background: #f3f7fb;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 12px;
  white-space: nowrap;
}

.wall-layer.structural {
  background: linear-gradient(90deg, #35404c, #596674);
  border: 1px solid #7d8996;
}

.wall-layer.finish {
  background: linear-gradient(90deg, #123f2d, #0f8f68);
  border: 1px solid var(--green-2);
}

.opening-cut {
  position: absolute;
  right: 64px;
  top: 123px;
  display: grid;
  align-items: center;
  align-content: center;
  justify-items: center;
  width: 118px;
  height: 154px;
  padding: 12px 10px;
  color: #fff;
  text-align: center;
  border: 3px solid var(--amber);
  background:
    repeating-linear-gradient(45deg, rgba(240, 163, 60, 0.16) 0 8px, rgba(240, 163, 60, 0.25) 8px 16px),
    rgba(15, 20, 25, 0.86);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 10px 28px rgba(0, 0, 0, 0.28);
}

.opening-label {
  display: block;
  color: #fff;
}

.opening-note {
  display: block;
  margin-top: 6px;
  color: #ffd99a;
  line-height: 1.25;
}

.quantity-rules {
  display: grid;
  gap: 14px;
}

.quantity-rules article {
  padding: 20px;
}

.quantity-rules p {
  margin: 0;
  color: var(--muted);
}

.live-quantity-demo {
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) minmax(360px, 1fr) minmax(300px, 0.95fr);
  gap: 18px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    #101720;
  box-shadow: var(--shadow);
}

.demo-settings,
.demo-budget,
.demo-drawing {
  min-width: 0;
  border: 1px solid #34404d;
  border-radius: 6px;
  background: #0f1419;
}

.demo-settings,
.demo-budget {
  padding: 16px;
}

.demo-title {
  margin-bottom: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.demo-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  margin-bottom: 9px;
  padding: 8px 10px;
  color: var(--soft);
  border: 1px solid #3c4654;
  border-radius: 5px;
  background: #202832;
  font-size: 13px;
  font-weight: 800;
}

.demo-toggle span {
  width: 18px;
  height: 18px;
  border: 1px solid #6b7684;
  border-radius: 4px;
  background: #121821;
}

.gross-toggle span {
  animation: demoCheck 9s infinite;
}

.net-toggle span,
.reveal-toggle span {
  animation: demoCheckDelayed 9s infinite;
}

.demo-settings p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.demo-drawing {
  overflow: hidden;
  display: grid;
  align-items: center;
}

.demo-drawing svg {
  display: block;
  width: 100%;
}

.demo-wall-fill {
  fill: rgba(15, 163, 116, 0.2);
  stroke: var(--green-2);
  stroke-width: 4;
}

.demo-opening {
  fill: rgba(93, 182, 255, 0.3);
  stroke: var(--blue);
  stroke-width: 4;
  animation: demoOpening 9s infinite;
}

.demo-reveal {
  fill: none;
  stroke: var(--amber);
  stroke-width: 4;
  opacity: 0;
  animation: demoReveal 9s infinite;
}

.demo-net-label {
  opacity: 0;
  animation: demoNetText 9s infinite;
}

.demo-reveal-label {
  opacity: 0;
  animation: demoReveal 9s infinite;
}

.demo-budget-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  align-items: center;
  min-height: 42px;
  padding: 9px 10px;
  border-bottom: 1px solid #303b47;
}

.demo-budget-row span {
  min-width: 0;
  overflow: hidden;
  color: var(--soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-budget-row b {
  color: #fff;
  text-align: right;
  white-space: nowrap;
}

.qty-wall-net,
.qty-finish-net {
  position: absolute;
  right: 10px;
  opacity: 0;
}

.qty-wall-gross {
  animation: demoWallGrossQty 9s infinite;
}

.qty-wall-net {
  animation: demoWallNetQty 9s infinite;
}

.qty-finish-gross {
  animation: demoFinishGrossQty 9s infinite;
}

.qty-finish-net {
  animation: demoFinishNetQty 9s infinite;
}

.reveal-budget-row {
  max-height: 0;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
  animation: demoRevealRow 9s infinite;
}

.reveal-budget-row span,
.reveal-budget-row b {
  color: #ffd99a;
}

.demo-budget-note {
  margin-top: 12px;
  padding: 11px;
  color: #ffe5b5;
  border: 1px solid rgba(240, 163, 60, 0.35);
  border-radius: 5px;
  background: rgba(240, 163, 60, 0.1);
  font-size: 13px;
}

@keyframes demoCheck {
  0%, 30% {
    background: var(--green-2);
    border-color: #83f2aa;
    box-shadow: inset 0 0 0 4px #123f2d;
  }
  36%, 100% {
    background: #121821;
    border-color: #6b7684;
    box-shadow: none;
  }
}

@keyframes demoCheckDelayed {
  0%, 30% {
    background: #121821;
    border-color: #6b7684;
    box-shadow: none;
  }
  36%, 100% {
    background: var(--green-2);
    border-color: #83f2aa;
    box-shadow: inset 0 0 0 4px #123f2d;
  }
}

@keyframes demoOpening {
  0%, 30% {
    fill: rgba(93, 182, 255, 0.16);
    stroke: #5d6b78;
  }
  36%, 100% {
    fill: rgba(93, 182, 255, 0.34);
    stroke: var(--blue);
  }
}

@keyframes demoReveal {
  0%, 58% {
    opacity: 0;
  }
  66%, 100% {
    opacity: 1;
  }
}

@keyframes demoNetText {
  0%, 30% {
    opacity: 0;
  }
  36%, 100% {
    opacity: 1;
  }
}

@keyframes demoWallGrossQty {
  0%, 30% {
    opacity: 1;
  }
  36%, 100% {
    opacity: 0;
  }
}

@keyframes demoWallNetQty {
  0%, 30% {
    opacity: 0;
  }
  36%, 100% {
    opacity: 1;
  }
}

@keyframes demoFinishGrossQty {
  0%, 30% {
    opacity: 1;
  }
  36%, 100% {
    opacity: 0;
  }
}

@keyframes demoFinishNetQty {
  0%, 30% {
    opacity: 0;
  }
  36%, 100% {
    opacity: 1;
  }
}

@keyframes demoRevealRow {
  0%, 58% {
    max-height: 0;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
  }
  66%, 100% {
    max-height: 52px;
    min-height: 42px;
    padding-top: 9px;
    padding-bottom: 9px;
    opacity: 1;
  }
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
}

.download-card h2 {
  margin-bottom: 8px;
}

.download-warning {
  margin: 14px 0 0;
  padding: 14px 16px;
  color: #ffe5b5;
  background: rgba(240, 163, 60, 0.13);
  border: 1px solid rgba(240, 163, 60, 0.42);
  border-radius: var(--radius);
  font-size: 15px;
}

.download-warning a,
.site-footer a,
.legal-card a {
  color: #ffffff;
  font-weight: 900;
}

.legal-section {
  min-height: calc(100vh - 122px);
  background:
    radial-gradient(circle at 76% 0%, rgba(93, 182, 255, 0.12), transparent 28rem),
    #080b0f;
}

.legal-card {
  max-width: 960px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    #121821;
  box-shadow: var(--shadow);
}

.legal-title {
  margin-bottom: 10px;
  font-size: 58px;
  line-height: 1;
  white-space: normal;
}

.legal-updated {
  color: var(--muted);
  font-size: 15px;
}

.legal-card h2 {
  margin-top: 32px;
  font-size: 26px;
}

.legal-card p {
  color: var(--soft);
  font-size: 17px;
}

.demo-hero-section {
  background:
    radial-gradient(circle at 76% 0%, rgba(15, 163, 116, 0.15), transparent 28rem),
    #080b0f;
}

.interactive-demo-section {
  background: #090d12;
}

.interactive-demo-section:nth-of-type(even) {
  background:
    radial-gradient(circle at 18% 12%, rgba(93, 182, 255, 0.1), transparent 26rem),
    #080b0f;
}

.demo-lab {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(360px, 1fr) minmax(300px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.demo-controls,
.demo-visual,
.mini-budget,
.sublayer-stack {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    #121821;
  box-shadow: var(--shadow);
}

.demo-controls {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 18px;
}

.demo-controls label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-weight: 900;
}

.demo-controls label b {
  justify-self: start;
  color: var(--green-2);
  font-size: 13px;
}

.demo-controls input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

.demo-controls select {
  min-height: 38px;
  padding: 8px 10px;
  color: #fff;
  border: 1px solid #3d4856;
  border-radius: 5px;
  background: #1d2530;
  font: inherit;
}

.demo-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px !important;
  padding: 9px 10px;
  border: 1px solid #3d4856;
  border-radius: 5px;
  background: #1d2530;
  font-size: 14px;
}

.demo-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.demo-visual {
  overflow: hidden;
  background: #0f1419;
}

.demo-visual svg {
  display: block;
  width: 100%;
  min-height: 330px;
}

.mini-budget {
  padding: 16px;
}

.sublayer-stack {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  background: #0f1419;
}

.stack-layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 14px;
  color: #fff;
  border: 1px solid #46515d;
  border-radius: 6px;
  background: #202832;
  font-weight: 900;
  transition: opacity 0.2s ease;
}

.stack-layer.structure {
  border-color: #8b96a4;
}

.stack-layer.boards {
  border-color: var(--blue);
}

.stack-layer.paint {
  border-color: var(--green-2);
}

.stack-layer span {
  padding: 5px 8px;
  color: #111820;
  border-radius: 4px;
  background: #f3f7fb;
  font-size: 12px;
}

.hierarchy-demo {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
}

.hierarchy-demo .demo-title {
  margin-bottom: 4px;
}

.hierarchy-demo .tree-row {
  margin-bottom: 8px;
}

.standards-demo-lab {
  grid-template-columns: minmax(260px, 0.75fr) minmax(340px, 0.9fr) minmax(360px, 1fr);
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #202833;
}

.contact-section {
  text-align: center;
}

.contact-section p {
  max-width: 620px;
  margin: 0 auto;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 42px;
  color: #d7dee6;
  background: #05070a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-status-note {
  max-width: 620px;
  color: #8f9dad;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

@media (max-width: 1100px) {
  .hero-logo-title {
    width: min(500px, 100%);
  }

  .workflow-grid,
  .view-grid,
  .visual-grid,
  .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    min-height: 56px;
    padding: 8px 14px;
  }

  nav {
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    flex: 0 0 auto;
    padding: 7px 9px;
    font-size: 13px;
  }

  .hero,
  .split-section,
  .takeoff-showcase,
  .help-promise-grid,
  .standards-grid,
  .quantity-control-grid,
  .live-quantity-demo,
  .workflow-animation {
    grid-template-columns: 1fr;
  }

  .animated-workspace {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 44px 20px 30px;
  }

  .brand-logo {
    height: 38px;
  }

  .hero-watermark {
    top: 30px;
    left: 20px;
    width: 82vw;
    opacity: 0.055;
  }

  .section {
    padding: 64px 20px;
  }
}

@media (max-width: 720px) {
  .hero-logo-title {
    width: min(360px, 100%);
  }

  .hero-actions,
  .download-card {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-logo {
    height: 32px;
  }

  .site-header {
    min-height: 50px;
    padding: 7px 10px;
  }

  nav a {
    padding: 6px 8px;
    font-size: 12px;
  }

  .workflow-grid,
  .view-grid,
  .visual-grid,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .hero-impact span {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .app-body,
  .measure-layout,
  .help-layout {
    grid-template-columns: 1fr;
  }

  .app-body aside,
  .side-panel,
  .help-tree {
    border-right: 0;
    border-bottom: 1px solid #384452;
  }

  .app-topbar,
  .tool-strip {
    flex-wrap: wrap;
  }

  .opening-cut {
    position: static;
    width: auto;
    height: auto;
  }

  .wall-layer.finish {
    padding-right: 16px;
  }

  .real-budget-row {
    grid-template-columns: 1fr 1.8fr 0.8fr 0.6fr 0.9fr;
    margin-left: 0;
  }

  .real-budget-row span:nth-child(5),
  .real-budget-row span:nth-child(6),
  .real-budget-row span:nth-child(8) {
    display: none;
  }

  .table-row,
  .budget-row {
    grid-template-columns: 0.8fr 1.8fr 1fr;
  }

  .table-row span:nth-child(4),
  .budget-row span:nth-child(4) {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 20px;
  }

  .site-status-note {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 380px) {
  .hero-logo-title {
    width: min(300px, 100%);
  }
}
.pricing-section {
  background: #f4f7f6;
}

.pricing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 24px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

.pricing-copy,
.pricing-card {
  border: 1px solid rgba(31, 43, 55, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(31, 43, 55, 0.08);
}

.pricing-copy {
  padding: 32px;
}

.pricing-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
}

.pricing-copy p {
  max-width: 720px;
}

.pricing-note {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(38, 111, 87, 0.24);
  border-radius: 6px;
  background: #eef8f3;
  color: #1e5f47;
  font-weight: 700;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 28px;
}

.pricing-badge {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 6px;
  background: #1f2b37;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card strong {
  color: #101820;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.05;
}

.pricing-renewal {
  color: #52606d;
  font-weight: 700;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 820px) {
  .pricing-panel {
    grid-template-columns: 1fr;
  }

  .pricing-copy,
  .pricing-card {
    padding: 22px;
  }
}
