:root {
  --ink: #17212b;
  --muted: #617080;
  --line: #dce3ea;
  --paper: #fbfcfd;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-dark: #0b5751;
  --accent-soft: #e8f4f2;
  --gold: #b7791f;
  --red: #b42318;
  --blue: #2563eb;
  --green: #15803d;
  --shadow: 0 14px 36px rgba(23, 33, 43, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

[hidden] {
  display: none !important;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(251, 252, 253, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  grid-template-rows: repeat(2, 9px);
  gap: 3px;
  width: 25px;
  height: 25px;
}

.brand-mark span {
  background: var(--accent);
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3) {
  background: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  padding: 9px 11px;
  border-radius: 6px;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: #edf4f3;
}

.nav .nav-cta {
  margin-left: 5px;
  padding-inline: 14px;
  color: #fff;
  background: var(--accent);
  font-weight: 750;
}

.nav .nav-cta:hover,
.nav .nav-cta.active {
  color: #fff;
  background: var(--accent-dark);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.nav-toggle-icon { display: grid; gap: 3px; width: 16px; }
.nav-toggle-icon i { display: block; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.topbar.nav-open .nav-toggle-icon i:first-child { transform: translateY(5px) rotate(45deg); }
.topbar.nav-open .nav-toggle-icon i:nth-child(2) { opacity: 0; }
.topbar.nav-open .nav-toggle-icon i:last-child { transform: translateY(-5px) rotate(-45deg); }

main {
  min-height: calc(100vh - 65px);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.splash {
  display: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  min-height: 570px;
  padding: clamp(54px, 6vw, 82px) clamp(18px, 6vw, 76px) 54px;
  background: #f8fafb;
}

.splash.active {
  display: grid;
}

.splash-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(42px, 4.4vw, 62px);
  line-height: 1.06;
  letter-spacing: 0;
}

.splash-copy p:not(.eyebrow),
.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

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

.hero-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-capabilities span {
  position: relative;
  padding-left: 15px;
}

.hero-capabilities span::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.hero-transformation {
  min-width: 0;
}

.transform-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.transform-labels span:last-child {
  color: var(--accent-dark);
}

.transform-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) 36px minmax(0, 1.08fr);
  align-items: center;
  min-height: 350px;
}

.workbook-preview,
.app-preview {
  overflow: hidden;
  border: 1px solid #cfd8e0;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(23, 33, 43, 0.1);
}

.workbook-preview {
  transform: translateX(8px);
}

.workbook-title,
.formula-line,
.sheet-tabs,
.app-preview-bar {
  display: flex;
  align-items: center;
}

.workbook-title {
  gap: 8px;
  padding: 12px;
  background: #edf5f1;
  font-size: 11px;
  font-weight: 750;
}

.workbook-title i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.formula-line {
  min-height: 32px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  color: #4b5968;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px;
  white-space: nowrap;
}

.sheet-tabs {
  gap: 4px;
  padding: 7px 8px 0;
  background: #f5f7f9;
  font-size: 9px;
}

.sheet-tabs span,
.sheet-tabs b {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.sheet-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.55fr;
  font-size: 8px;
}

.sheet-grid > * {
  min-width: 0;
  padding: 8px;
  overflow: hidden;
  border-right: 1px solid #d5dde4;
  border-bottom: 1px solid #d5dde4;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sheet-grid b {
  background: #e8eef2;
}

.sheet-grid em {
  color: var(--red);
  background: #fde8e7;
  font-weight: 800;
}

.workbook-warnings {
  display: flex;
  gap: 5px;
  padding: 10px;
}

.workbook-warnings span {
  padding: 5px 7px;
  border-radius: 20px;
  color: var(--red);
  background: #fde8e7;
  font-size: 8px;
  font-weight: 800;
}

.transform-arrow {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-inline: -2px;
  border: 4px solid #f8fafb;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 19px;
  font-weight: 800;
}

.app-preview {
  transform: translateX(-8px);
}

.app-preview-bar {
  justify-content: space-between;
  padding: 13px 14px;
  color: #fff;
  background: var(--ink);
  font-size: 10px;
}

.app-preview-bar span {
  color: #dbe2e8;
  font-size: 8px;
  font-weight: 700;
}

.app-preview-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
}

.app-preview-metrics span,
.app-preview-body > div {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.app-preview small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

.app-preview-metrics b {
  font-size: 16px;
}

.app-preview-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 12px;
  font-size: 9px;
}

.app-mini-chart {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  gap: 7px;
  height: 82px;
  background: #f6f8fa;
}

.app-mini-chart i {
  flex: 1;
  height: 55%;
  background: var(--accent);
}

.app-mini-chart i:nth-child(2) { height: 82%; background: var(--gold); }
.app-mini-chart i:nth-child(3) { height: 43%; }
.app-mini-chart i:nth-child(4) { height: 68%; background: var(--gold); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

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

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

.button.full {
  width: 100%;
}

.hero-panel,
.panel,
.demo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.hero-panel {
  padding: 16px;
  box-shadow: var(--shadow);
}

.mini-toolbar {
  display: flex;
  gap: 7px;
  padding-bottom: 18px;
}

.mini-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c6d0d8;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.metric-card small,
.metric span {
  color: var(--muted);
}

.metric-card strong {
  display: block;
  margin: 8px 0;
  font-size: 34px;
}

.hero-chart {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  gap: 12px;
  height: 160px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(#f5f8fb, #fff);
}

.hero-chart i {
  flex: 1;
  min-width: 26px;
  border-radius: 4px 4px 0 0;
  background: var(--accent);
}

.hero-chart i:nth-child(even) {
  background: var(--gold);
}

.preview-table {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr;
  gap: 10px;
  margin-top: 14px;
}

.preview-table span {
  height: 14px;
  border-radius: 4px;
  background: #edf2f6;
}

.hero-system {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.hero-system span {
  padding: 9px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.demo-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 64px clamp(18px, 6vw, 76px);
  background: #fff;
}

#demos,
#compare,
#packages,
#contact {
  scroll-margin-top: 72px;
}

.demo-intro {
  grid-column: 1 / -1;
  max-width: 720px;
  margin-bottom: 10px;
}

.demo-intro h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: 0;
}

.demo-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.demo-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.demo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 6px;
  color: #fff;
  background: var(--accent);
  font-weight: 850;
}

.demo-card:nth-of-type(1) .card-icon {
  background: var(--blue);
}

.demo-card:nth-of-type(2) .card-icon {
  background: var(--gold);
}

.demo-card.bespoke-demo { border-color: #90c8be; background: linear-gradient(145deg,#eef8f5,#fff); }
.demo-card.bespoke-demo .card-icon { width: 40px; min-width: 40px; padding-inline: 0; background: var(--ink); font-size: 10px; }
.demo-tier{display:inline-flex;width:fit-content;margin:12px 0 9px;padding:5px 8px;border:1px solid #b7d8d2;border-radius:999px;color:var(--accent-dark);background:var(--accent-soft);font-size:10px;font-weight:900;letter-spacing:.035em;line-height:1.2;text-transform:uppercase}.demo-tier.bespoke{color:#fff;border-color:var(--ink);background:var(--ink)}.demo-directory .demo-tier{margin-top:14px}
.demo-card-heading { display: flex; align-items: center; gap: 10px; min-width: 0; margin-bottom: 16px; }
.demo-card-heading .card-icon { flex: 0 0 auto; margin-bottom: 0; }
.demo-card-heading .demo-tier { margin: 0; }

.demo-directory .page-card:nth-child(1) .card-icon { background: var(--blue); }
.demo-directory .page-card:nth-child(2) .card-icon { background: var(--gold); }
.demo-directory .page-card:nth-child(3) .card-icon { background: var(--accent); }
.demo-directory { grid-template-columns: repeat(4,minmax(0,1fr)); }
.demo-directory .bespoke-demo-card { border-color: #90c8be; background: linear-gradient(145deg,#eef8f5,#fff); box-shadow: inset 0 4px 0 var(--accent); }
.demo-directory .bespoke-demo-card .card-icon { width: auto; min-width: 40px; padding-inline: 8px; background: var(--ink); }

.demo-card h2,
.audit-strip h2,
.panel h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: 0;
}

.demo-card small {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.demo-card p,
.audit-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 850;
}

.demo-link span {
  transition: transform 160ms ease;
}

.demo-card:hover .demo-link span {
  transform: translateX(3px);
}

.packages-section,
.method-section,
.proof-section {
  padding: 56px clamp(18px, 6vw, 76px);
}

.packages-section {
  background: #f7faf9;
}

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

.package-card,
.case-study,
.trust-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.package-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 200px;
  padding: 20px;
}

.package-card.featured {
  border-color: rgba(15, 118, 110, 0.45);
  background: var(--accent-soft);
}

.package-card span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.package-card h2 {
  margin: 0;
  font-size: 22px;
}

.package-card strong {
  font-size: 18px;
}

.package-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.products-view {
  background: #f7f9fa;
}

.products-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
  padding: 64px clamp(18px, 6vw, 76px);
  color: #fff;
  background: var(--ink);
}

.products-hero h1,
.products-hero h2 {
  margin-top: 0;
  max-width: 920px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
}

.products-hero .eyebrow { color: #74c9c0; }

.products-hero > div > p:last-child {
  max-width: 780px;
  margin: 22px 0 0;
  color: #c7d0d8;
  font-size: 17px;
  line-height: 1.65;
}

.products-hero aside {
  display: grid;
  gap: 14px;
  padding-left: 28px;
  border-left: 1px solid #44505b;
}

.products-hero aside strong { font-size: 19px; }
.products-hero aside span { color: #c7d0d8; line-height: 1.55; }
.products-hero aside .button { justify-self: start; }

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

.products-hero-link {
  color: #fff;
  border: 1px solid #66737e;
  background: transparent;
}

.products-hero-link:hover { border-color: #fff; }

.pricing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0 clamp(18px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.pricing-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.pricing-steps article:first-child { border-left: 0; }

.pricing-steps article > span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.pricing-steps article div { display: grid; gap: 5px; }
.pricing-steps article strong { font-size: 15px; }
.pricing-steps article p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.product-section-heading {
  max-width: 780px;
  padding: 58px clamp(18px, 6vw, 76px) 22px;
}

.product-section-heading h2,
.product-inclusions h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
}

.product-section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.build-products {
  padding-bottom: 62px;
  background: #fff;
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(18px, 6vw, 76px);
}

.build-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.build-card.recommended {
  border-top: 4px solid var(--accent);
  padding-top: 19px;
  background: #f8fbfa;
}

.build-card h2 {
  margin: 20px 0 12px;
  font-size: 23px;
}

.build-card > p:not(.product-price) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.build-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 0;
}

.build-scope span {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f9fa;
}

.build-scope small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.build-scope strong {
  font-size: 12px;
  line-height: 1.35;
}

.build-card ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.build-card li {
  position: relative;
  padding-left: 17px;
  font-size: 13px;
  line-height: 1.4;
}

.build-card li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.build-note {
  margin: 18px clamp(18px, 6vw, 76px) 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(18px, 6vw, 76px) 64px;
}

.deployment-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.deployment-card.recommended {
  border-top: 4px solid var(--accent);
  padding-top: 19px;
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-number {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.product-tag {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.deployment-card h2 {
  margin: 20px 0 12px;
  font-size: 23px;
}

.product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
}

.product-price strong { font-size: 25px; }
.product-price span { color: var(--muted); font-size: 12px; font-weight: 700; }

.included-price strong { color: var(--accent-dark); }

.deployment-card > p:not(.product-price) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.deployment-card ul {
  display: grid;
  gap: 9px;
  margin: 20px 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.deployment-card li {
  position: relative;
  padding-left: 17px;
  font-size: 13px;
  line-height: 1.4;
}

.deployment-card li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.product-care {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.product-care span { color: var(--muted); }
.product-care strong { text-align: right; }

.quote-builder {
  padding: 66px clamp(18px, 6vw, 76px);
  border-top: 1px solid var(--line);
  background: #f4f7f8;
}

.quote-builder-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.quote-builder-heading > div { max-width: 720px; }
.quote-builder-heading h2 { margin: 5px 0 10px; font-size: 34px; }
.quote-builder-heading > div > p:last-child { margin: 0; color: var(--muted); line-height: 1.6; }

.estimate-label {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 22px;
  align-items: start;
}

.quote-options { display: grid; gap: 14px; }

.quote-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.quote-group legend {
  padding: 0 8px;
  font-size: 15px;
  font-weight: 800;
}

.quote-group legend span { margin-right: 8px; color: var(--accent); font-size: 11px; }

.quote-choice {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.quote-choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 3px 0 0 var(--accent);
}

.quote-choice:has(input:disabled) {
  cursor: default;
}

.quote-choice:has(input:disabled) b {
  color: var(--accent);
  font-weight: 850;
}

.quote-choice input { width: 16px; height: 16px; accent-color: var(--accent); }
.quote-choice span { display: grid; gap: 3px; min-width: 0; }
.quote-choice strong { font-size: 13px; }
.quote-choice small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.quote-choice b { color: var(--ink); font-size: 11px; text-align: right; white-space: nowrap; }
.quote-care-choice[hidden] { display: none; }
.quote-choice[hidden] { display: none; }

.quote-summary {
  position: sticky;
  top: 18px;
  padding: 24px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
}

.quote-summary .eyebrow { color: #74c9c0; }
.quote-total, .quote-first-year { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.quote-total { padding: 16px 0; border-bottom: 1px solid #44505b; }
.quote-total span, .quote-first-year span { color: #c7d0d8; font-size: 12px; }
.quote-total strong { font-size: 22px; text-align: right; }
.quote-first-year { padding: 20px 0; }
.quote-first-year strong { color: #74c9c0; font-size: 20px; text-align: right; }

.quote-summary-list { display: grid; gap: 8px; padding: 17px 0; border-top: 1px solid #44505b; }
.quote-summary-list span { display: flex; justify-content: space-between; gap: 14px; color: #dce3e8; font-size: 11px; line-height: 1.4; }
.quote-summary-list b { color: #fff; text-align: right; }
.quote-disclaimer { color: #aeb9c2; font-size: 11px; line-height: 1.5; }
.quote-summary .button { width: 100%; margin-top: 7px; }
.quote-reset { display: block; margin: 14px auto 0; color: #c7d0d8; }

.product-comparison {
  padding-bottom: 64px;
  background: #fff;
}

.comparison-table-wrap {
  margin: 0 clamp(18px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-comparison table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  text-align: left;
}

.product-comparison th,
.product-comparison td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.product-comparison thead th {
  color: #fff;
  background: var(--ink);
}

.product-comparison tbody th { font-size: 14px; }
.product-comparison tbody td { color: var(--muted); }
.product-comparison tbody tr:last-child > * { border-bottom: 0; }

.product-inclusions {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: 40px;
  padding: 58px clamp(18px, 6vw, 76px);
}

.inclusion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.inclusion-list span {
  position: relative;
  padding: 15px 12px 15px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 750;
}

.inclusion-list span::before {
  position: absolute;
  top: 21px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.product-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(18px, 6vw, 76px) 64px;
  padding: 24px;
  border: 1px solid rgba(15, 118, 110, 0.35);
  border-radius: 8px;
  background: var(--accent-soft);
}

.product-note div { display: grid; gap: 5px; }
.product-note strong { font-size: 18px; }
.product-note span { max-width: 840px; color: var(--muted); line-height: 1.5; }
.product-note .button { flex: 0 0 auto; }

.product-price-note {
  margin: -42px clamp(18px, 6vw, 76px) 48px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-list article {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-left: 1px solid var(--line);
}

.method-list article:first-child {
  border-left: 0;
}

.method-list b {
  color: var(--accent-dark);
  font-size: 12px;
}

.method-list strong {
  font-size: 17px;
}

.method-list span {
  color: var(--muted);
  line-height: 1.5;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 16px;
}

.case-study,
.trust-panel {
  padding: 24px;
}

.case-study h2,
.trust-panel h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

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

.case-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.case-grid strong,
.case-grid span {
  display: block;
}

.case-grid span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.trust-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.case-note {
  max-width: 760px;
  margin: -6px 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.trust-list {
  list-style: none;
  padding-left: 0;
}

.trust-list li {
  position: relative;
  padding-left: 20px;
}

.trust-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.experience-copy {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.experience-facts {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.experience-facts span {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.experience-facts strong {
  color: var(--ink);
  font-size: 13px;
}


.security-section,
.faq-section {
  padding: 56px clamp(18px, 6vw, 76px);
}

.security-section {
  color: #fff;
  background: var(--ink);
}

.security-section .eyebrow { color: #71d4ca; }
.security-section .section-heading p:last-child { color: #c7d0d8; }

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #40505d;
}

.security-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 150px;
  padding: 20px;
  background: var(--ink);
}

.security-grid strong { font-size: 17px; }
.security-grid span { color: #c7d0d8; line-height: 1.5; }

.faq-section { background: #f7faf9; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  padding: 17px 4px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.faq-list details p {
  max-width: 900px;
  margin: -4px 4px 18px;
  color: var(--muted);
  line-height: 1.55;
}

.compare-section {
  padding: 64px clamp(18px, 6vw, 76px);
}

.section-heading.compact {
  margin-bottom: 20px;
}

.section-heading.compact h1,
.section-heading.compact h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: 0;
}

.packages-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 38px; margin-bottom: 20px; }
.packages-heading-row .section-heading { margin-bottom: 0; }
.pricing-page-link { display: grid; flex: 0 0 min(390px,34vw); gap: 5px; padding: 18px 20px; color: var(--ink); border: 1px solid rgba(15,118,110,.24); border-radius: 10px; background: #fff; box-shadow: 0 10px 28px rgba(21,55,52,.07); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.pricing-page-link > span { color: var(--accent-dark); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.pricing-page-link strong { font-size: 17px; }
.pricing-page-link small { color: var(--muted); line-height: 1.4; }
.pricing-page-link small span { color: var(--accent-dark); font-weight: 900; }
.pricing-page-link:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(21,55,52,.11); }
.pricing-page-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.compare-card {
  --split: 52%;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.compare-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 38px);
}

.compare-before {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 38%),
    #f8fafc;
}

.compare-after {
  clip-path: inset(0 0 0 var(--split));
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent 42%),
    #f6f8fb;
}

.compare-label {
  position: absolute;
  top: 16px;
  z-index: 4;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.compare-label.before {
  left: 16px;
}

.compare-label.after {
  right: 16px;
}

.workbook-window,
.after-app-window {
  width: min(1040px, calc(100% - 28px));
  min-height: 390px;
  border: 1px solid #cfd9e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 33, 43, 0.16);
}

.workbook-window {
  overflow: hidden;
}

.workbook-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #eef5f2;
  font-size: 13px;
}

.file-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
}

.autosave {
  margin-left: auto;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.formula-bar {
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  color: #4b5563;
  background: #fff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.sheet-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 12px 0;
  background: #f6f8fa;
}

.sheet-tabs span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  color: var(--muted);
  background: #edf2f6;
  font-size: 12px;
  font-weight: 800;
}

.sheet-tabs .active-tab {
  color: var(--ink);
  background: #fff;
}

.spreadsheet-grid {
  display: grid;
  grid-template-columns: 38px 1.25fr 1fr 0.8fr 0.8fr 0.8fr;
  min-width: 720px;
  padding: 0 12px 12px;
  background: #fff;
  font-size: 12px;
}

.spreadsheet-grid > * {
  min-height: 34px;
  padding: 8px;
  border-right: 1px solid #d9e1e8;
  border-bottom: 1px solid #d9e1e8;
}

.spreadsheet-grid b,
.col-head,
.row-head {
  background: #edf2f6;
  font-weight: 850;
}

.row-head,
.col-head {
  color: var(--muted);
  text-align: center;
}

.bad-cell {
  background: #fde8e6;
  color: var(--red);
  font-weight: 850;
}

.warn-cell {
  background: #fff4d6;
  color: var(--gold);
  font-weight: 850;
}

.workbook-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
}

.workbook-notes span {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--red);
  background: #fde8e6;
  font-size: 12px;
  font-weight: 850;
}

.after-app-window {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #fff;
}

.after-app-window aside {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  color: #fff;
  background: var(--ink);
}

.after-app-window aside strong {
  margin-right: auto;
  font-size: 16px;
  white-space: nowrap;
}

.app-nav {
  padding: 8px 9px;
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
}

.app-nav.active {
  color: #fff;
  background: var(--accent);
}

.after-app-window main {
  min-height: 0;
  padding: 14px;
}

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

.after-topline div,
.mini-form,
.mini-report {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.after-topline small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.after-topline strong {
  display: block;
  margin-top: 7px;
  font-size: 20px;
}

.after-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.mini-form,
.mini-report {
  min-height: 205px;
}

.mini-form h3,
.mini-report h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.mini-form span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mini-form i {
  display: block;
  margin-top: 5px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-style: normal;
  font-weight: 750;
}

.mini-report div {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 110px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
}

.mini-report b {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: var(--accent);
}

.mini-report b:nth-child(even) {
  background: var(--blue);
}

.mini-report p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(32px, var(--split), calc(100% - 32px));
  z-index: 5;
  width: 2px;
  transform: translateX(-1px);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 33, 43, 0.12), 0 0 28px rgba(23, 33, 43, 0.2);
  pointer-events: none;
}

.compare-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  box-shadow: var(--shadow);
}

.compare-divider span::before,
.compare-divider span::after {
  content: "";
  position: absolute;
  top: 15px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.compare-divider span::before {
  left: 12px;
  transform: rotate(-45deg);
}

.compare-divider span::after {
  right: 12px;
  transform: rotate(135deg);
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(18px, 6vw, 76px) 64px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-section div {
  max-width: 720px;
}

.contact-section .contact-action {
  display: grid;
  justify-items: start;
  min-width: 220px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.contact-action > span {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-email {
  margin-top: 10px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 750;
}

.contact-section h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0;
}

.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.contact-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
}

.contact-assurances span {
  position: relative;
  padding-left: 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.contact-assurances span::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-section .button {
  white-space: nowrap;
}

.contact-form {
  display: grid;
  flex: 0 1 520px;
  gap: 12px;
  min-width: min(520px, 48vw);
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

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

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.contact-form textarea { resize: vertical; }
.contact-form small { color: var(--muted); line-height: 1.4; }

.contact-form .form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.form-status.success,
.form-status.error {
  display: block;
}

.form-status.success {
  color: #0d5f35;
  border-color: #b8dec8;
  background: #edf8f1;
}

.form-status.error {
  color: #8f1d14;
  border-color: #efc2bd;
  background: #fff1f0;
}

.form-status a {
  text-decoration: underline;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 6vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

.site-footer a {
  color: var(--accent-dark);
  font-weight: 800;
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer small { color: var(--muted); }
.footer-links { justify-content: flex-end; }
.footer-links .text-button { color: var(--muted); font-size: 13px; }

.legal-dialog-inner { padding: 22px; }
.legal-content { margin-top: 18px; }
.legal-content h3 { margin: 20px 0 6px; font-size: 17px; }
.legal-content p { margin: 0 0 10px; color: var(--muted); line-height: 1.55; }

.app-view {
  padding: 44px clamp(18px, 5vw, 58px) 58px;
  scroll-margin-top: 66px;
}

.demo-home-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 30px;
  color: var(--ink);
  text-decoration: none;
}

.demo-home-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 20px;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.demo-home-link > span:last-child {
  display: grid;
  gap: 1px;
}

.demo-home-link strong {
  font-size: 14px;
}

.demo-home-link small {
  color: var(--muted);
  font-size: 12px;
}

.demo-home-link:hover .demo-home-icon,
.demo-home-link:focus-visible .demo-home-icon {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateX(-2px);
}

.demo-home-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 4px;
}

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

.section-heading h1,
.section-heading h2 {
  font-size: clamp(36px, 5vw, 58px);
}

.section-heading p {
  max-width: 820px;
  margin-bottom: 0;
}

.demo-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  margin: -8px 0 18px;
  padding: 13px 16px;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 8px;
  background: var(--accent-soft);
}

.demo-notice div {
  display: grid;
  gap: 2px;
}

.demo-notice strong {
  font-size: 14px;
}

.demo-notice div span {
  color: var(--muted);
  font-size: 13px;
}

.demo-state {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.compact-button {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 13px;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 18px;
}

.demo-contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
  margin-top: 58px;
  padding: 48px 0 8px;
  border-top: 1px solid var(--line);
}

.demo-contact-copy {
  max-width: 470px;
}

.demo-contact-copy h2 {
  margin: 8px 0 14px;
  font-size: 30px;
}

.demo-contact-copy p:not(.eyebrow) {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.65;
}

.demo-contact-form {
  position: relative;
  display: grid;
  gap: 12px;
  max-width: 680px;
}

.demo-contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.demo-contact-form input,
.demo-contact-form textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.demo-contact-form textarea {
  resize: vertical;
}

.demo-contact-form small {
  color: var(--muted);
  line-height: 1.4;
}

.demo-contact-form .button {
  justify-self: start;
}

.demo-contact-form .form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.panel {
  padding: 18px;
  align-self: start;
}

label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

input,
select {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.form-panel .button {
  margin-top: 18px;
}

.self-serve-box {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.self-serve-box h3 {
  margin: 0 0 4px;
  font-size: 14px;
  text-transform: uppercase;
}

.utility-button {
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.utility-button:hover {
  border-color: var(--accent);
  background: #f4fbfa;
}

.activity-feed {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.activity-feed::before {
  content: "Recent activity";
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.activity-item {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.activity-item::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.stock-label,
.sla-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.stock-label.low,
.sla-label.risk {
  color: var(--red);
}

.record-dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 70px rgba(21, 34, 45, 0.24);
}

.record-dialog::backdrop {
  background: rgba(21, 34, 45, 0.48);
}

.record-dialog form {
  padding: 22px;
}

.dialog-header,
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dialog-header h2 {
  margin: 0;
  font-size: 26px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.dialog-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  margin: 18px 0 22px;
}

.dialog-fields .wide-field {
  grid-column: 1 / -1;
}

.dialog-fields textarea {
  min-height: 90px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  resize: vertical;
}

.manager-list {
  display: grid;
  gap: 8px;
}

.manager-list div {
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
  font-size: 14px;
  font-weight: 750;
}

.dialog-actions {
  justify-content: flex-end;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  max-width: min(380px, calc(100vw - 32px));
  padding: 13px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 750;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.workspace {
  min-width: 0;
}

.planning-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.period-navigation,
.segmented-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.period-navigation > div {
  min-width: 190px;
  text-align: center;
}

.period-navigation span,
.period-navigation strong {
  display: block;
}

.period-navigation span {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.period-navigation strong {
  font-size: 15px;
}

.small-icon-button {
  width: 34px;
  height: 34px;
  font-size: 23px;
}

.segmented-control {
  gap: 0;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f3f6f8;
}

.segmented-control button {
  min-width: 72px;
  padding: 8px 12px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.segmented-control button.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 3px rgba(21, 34, 45, 0.12);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric strong {
  display: block;
  margin-top: 7px;
  font-size: 28px;
}

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

.report-panel {
  min-height: 220px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.report-panel.wide {
  grid-column: 1 / -1;
  min-height: 120px;
}

.panel-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.panel-title h2 {
  margin: 0;
  font-size: 17px;
}

.panel-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-align: right;
}

.stage-chart {
  display: grid;
  gap: 10px;
}

.stage-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.stage-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f6;
}

.stage-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.stage-row:nth-child(2) .stage-fill,
.bar:nth-child(2n) .bar-fill {
  background: var(--blue);
}

.stage-row:nth-child(3) .stage-fill,
.bar:nth-child(3n) .bar-fill {
  background: var(--gold);
}

.stage-row:nth-child(4) .stage-fill,
.bar:nth-child(4n) .bar-fill {
  background: var(--green);
}

.bar-chart {
  display: grid;
  align-items: end;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  min-height: 150px;
}

.bar {
  display: grid;
  align-items: end;
  grid-template-rows: 1fr auto;
  gap: 8px;
  min-height: 150px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.bar-fill {
  width: 100%;
  min-height: 8px;
  border-radius: 5px 5px 2px 2px;
  background: var(--accent);
}

.insight-list {
  display: grid;
  gap: 8px;
}

.insight {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
  font-size: 13px;
}

.insight b {
  font-size: 14px;
}

.signal {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.signal.red { background: var(--red); }
.signal.gold { background: var(--gold); }
.signal.blue { background: var(--blue); }

.heatmap {
  display: grid;
  grid-template-columns: 82px repeat(4, 1fr);
  gap: 6px;
  font-size: 12px;
  font-weight: 750;
}

#rota .bar-chart {
  min-height: 210px;
}

#rota .bar {
  min-height: 174px;
}

.heat-label,
.heat-cell {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.heat-label {
  justify-content: flex-start;
  color: var(--muted);
}

.heat-cell {
  color: #fff;
  background: var(--red);
}

.heat-cell.ok {
  background: var(--green);
}

.heat-cell.partial {
  background: var(--gold);
}

.donut-wrap {
  display: grid;
  place-items: center;
  min-height: 155px;
}

.donut {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: conic-gradient(var(--red) 0 30%, var(--gold) 30% 62%, var(--accent) 62% 100%);
}

.donut::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
}

.donut strong,
.donut span {
  position: relative;
  z-index: 1;
}

.donut strong {
  font-size: 28px;
  line-height: 1;
}

.donut span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.toolbar {
  justify-content: space-between;
  margin-bottom: 14px;
}

.toolbar input,
.toolbar select {
  max-width: 250px;
}

.workspace > .toolbar > [data-form-toggle] { margin-left: 4px; }

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--muted);
  background: #f6f8fa;
  font-size: 12px;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pill.gold { background: var(--gold); }
.pill.green { background: var(--green); }
.pill.blue { background: var(--blue); }
.pill.red { background: var(--red); }

.text-button {
  border: 0;
  color: var(--accent-dark);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.rota-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
}

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

.month-planner[hidden],
.rota-grid[hidden],
.dashboard-grid[hidden],
.toolbar[hidden] {
  display: none;
}

.month-planner:not([hidden]) {
  margin-bottom: 14px;
}

.month-week {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #fff;
}

.month-week.clear {
  border-left-color: var(--green);
}

.month-week-heading,
.month-week-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.month-week-heading span,
.month-week-heading strong {
  display: block;
}

.month-week-heading span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.month-week-heading .pill {
  color: #fff;
}

.week-coverage {
  display: grid;
  grid-template-columns: repeat(6, minmax(34px, 1fr));
  gap: 6px;
  margin: 16px 0 12px;
}

.coverage-day {
  display: grid;
  place-items: center;
  min-height: 52px;
  border-radius: 6px;
  color: #fff;
  background: var(--red);
}

.coverage-day.partial {
  background: var(--gold);
}

.coverage-day.covered {
  background: var(--green);
}

.coverage-day small {
  font-size: 10px;
}

.month-week-summary {
  justify-content: flex-start;
  flex-wrap: wrap;
  min-height: 36px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.month-week-summary span + span::before {
  content: "\00b7";
  margin-right: 10px;
  color: #a6b0b8;
}

.month-week-summary .warning-text {
  color: var(--red);
}

.month-week .text-button {
  margin-top: 10px;
}

.day-card,
.kanban-column {
  min-height: 170px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.day-card h3,
.kanban-column h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.shift,
.issue {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
  font-size: 13px;
}

.shift strong,
.issue strong {
  font-size: 14px;
}

.kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 12px;
}

@media (max-width: 920px) {
  .demo-contact {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .splash,
  .app-shell {
    grid-template-columns: 1fr;
  }

  .splash {
    gap: 42px;
    padding-block: 48px;
  }

  .splash-copy {
    max-width: 720px;
  }

  .demo-picker,
  .metrics,
  .package-grid,
  .method-list,
  .proof-section,
  .security-grid,
  .dashboard-grid,
  .rota-grid,
  .kanban {
    grid-template-columns: 1fr;
  }

  .products-hero,
  .product-inclusions,
  .pricing-steps {
    grid-template-columns: 1fr;
  }

  .pricing-steps article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .pricing-steps article:first-child { border-top: 0; }

  .products-hero aside {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid #44505b;
    border-left: 0;
  }

  .products-hero-actions { align-items: stretch; flex-direction: column; }
  .products-hero-actions .button { justify-content: center; width: 100%; }

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

  .build-grid {
    grid-template-columns: 1fr;
  }

  .quote-calculator { grid-template-columns: 1fr; }
  .quote-summary { position: static; }

  .contact-section {
    align-items: stretch;
    flex-direction: column;
  }

  .planning-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .period-navigation {
    justify-content: space-between;
  }

  .segmented-control button {
    flex: 1;
  }

  .month-planner {
    grid-template-columns: 1fr;
  }

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

  .demo-notice div {
    grid-column: 1 / -1;
  }

  .contact-section .contact-action {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-form {
    min-width: 0;
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .method-list article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .method-list article:first-child {
    border-top: 0;
  }

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

  .site-footer > div,
  .footer-links {
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .demo-home-link {
    margin-bottom: 22px;
  }

  .topbar {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding-block: 11px;
    flex-wrap: wrap;
  }

  .nav-toggle { display: inline-flex; margin-left: auto; }

  .nav {
    position: absolute;
    top: 100%;
    right: 14px;
    left: 14px;
    display: none;
    width: auto;
    margin: 0;
    padding: 10px;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(20, 45, 43, .16);
  }

  .topbar.nav-open .nav { display: grid; }
  .nav a, .nav .nav-cta { display: block; width: 100%; margin: 0; padding: 11px 12px; }

  .products-hero {
    padding-block: 44px;
  }

  .products-hero h1,
  .products-hero h2 {
    font-size: 35px;
  }

  .deployment-grid,
  .inclusion-list {
    grid-template-columns: 1fr;
  }

  .build-scope {
    grid-template-columns: 1fr;
  }

  .quote-builder { padding-block: 48px; }
  .quote-builder-heading { align-items: flex-start; flex-direction: column; }
  .quote-builder-heading h2 { font-size: 30px; }
  .quote-group { grid-template-columns: 1fr; padding: 13px; }
  .quote-choice { grid-template-columns: 18px minmax(0, 1fr); }
  .quote-choice b { grid-column: 2; text-align: left; }

  .deployment-grid {
    padding-bottom: 46px;
  }

  .comparison-table-wrap {
    overflow: visible;
    border: 0;
  }

  .product-comparison table,
  .product-comparison tbody,
  .product-comparison tr,
  .product-comparison th,
  .product-comparison td {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .product-comparison table {
    table-layout: fixed;
  }

  .product-comparison thead { display: none; }

  .product-comparison tr {
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .product-comparison th,
  .product-comparison td {
    padding: 7px 0;
    border: 0;
  }

  .product-comparison td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    text-align: right;
    overflow-wrap: anywhere;
  }

  .product-comparison td::before {
    color: var(--ink);
    content: attr(data-label);
    font-weight: 750;
    text-align: left;
  }

  .product-inclusions {
    gap: 18px;
  }

  .product-note {
    align-items: stretch;
    flex-direction: column;
  }

  .product-note .button {
    width: 100%;
  }

  .nav .nav-cta {
    font-size: 13px;
    white-space: nowrap;
  }

  .brand {
    font-size: 14px;
  }

  #demos,
  #compare,
  #packages,
  #contact {
    scroll-margin-top: 72px;
  }

  h1 {
    font-size: 40px;
  }

  .proof-section {
    gap: 12px;
    padding-block: 42px;
  }

  .case-study,
  .trust-panel {
    padding: 18px;
  }

  .case-study h2,
  .trust-panel h2 {
    font-size: 23px;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }


  .case-grid article {
    min-width: 0;
    padding: 14px;
  }

  .case-grid strong,
  .case-grid span {
    overflow-wrap: anywhere;
  }

  .transform-labels {
    font-size: 10px;
  }

  .transform-stage {
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
    min-height: 270px;
  }

  .transform-arrow {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .workbook-title,
  .app-preview-bar {
    padding: 9px;
  }

  .formula-line,
  .sheet-tabs,
  .workbook-warnings,
  .app-preview-body {
    display: none;
  }

  .sheet-grid {
    font-size: 7px;
  }

  .sheet-grid > * {
    padding: 6px 4px;
  }

  .app-preview-metrics {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .app-preview-metrics span {
    padding: 8px;
  }

  .dialog-fields {
    grid-template-columns: 1fr;
  }

  .dialog-fields .wide-field {
    grid-column: auto;
  }
}

/* 2026 narrative refresh: an original, interactive path from workbook to app. */
.story-hero {
  grid-template-columns: minmax(360px, 0.9fr) minmax(560px, 1.1fr);
  gap: clamp(38px, 6vw, 94px);
  min-height: calc(100vh - 65px);
  padding-block: clamp(64px, 8vw, 112px);
  background:
    radial-gradient(circle at 12% 18%, rgba(183, 121, 31, 0.09), transparent 24%),
    linear-gradient(145deg, #fbfdfc 0%, #f1f8f7 100%);
}

.story-intro { max-width: 820px; }

.story-intro h1 {
  max-width: 820px;
  font-size: clamp(48px, 5.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.story-intro > p:not(.eyebrow) { max-width: 690px; }

.hero-experience {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr);
  align-items: center;
  column-gap: 15px;
  gap: 3px;
  max-width: 610px;
  margin-top: 19px;
  padding-left: 15px;
  border-left: 3px solid var(--gold);
}
.hero-experience > img { grid-row: 1; width: 64px; height: 76px; border: 1px solid rgba(16,91,85,.16); border-radius: 13px; object-fit: cover; object-position: 50% 28%; box-shadow: 0 7px 18px rgba(16,91,85,.1); }
.hero-experience-copy { display: grid; gap: 3px; min-width: 0; }
.hero-experience-copy > strong { color: var(--ink); font-size: 13px; }
.hero-experience-copy > span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.hero-experience-copy .hero-location { color: var(--accent-dark); font-weight: 700; }
.hero-experience-copy small { margin-top: 3px; color: var(--accent-dark); font-size: 11px; font-weight: 850; }
.hero-experience-copy small span { display: inline-block; color: var(--gold); transition: transform 160ms ease; }
.hero-experience strong { color: var(--ink); font-size: 13px; }
.hero-experience > span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.hero-experience .hero-location { color: var(--accent-dark); font-weight: 700; }
.hero-experience small { margin-top: 3px; color: var(--accent-dark); font-size: 11px; font-weight: 850; }
.hero-experience small span { display: inline-block; color: var(--gold); transition: transform 160ms ease; }
.hero-experience:hover small span,
.hero-experience:focus-visible small span { transform: translateX(3px); }
.hero-experience:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }

.story-experience {
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 80px rgba(23, 33, 43, 0.12);
}

.story-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.story-tabs button,
.journey-tabs button {
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.story-tabs button {
  display: grid;
  gap: 5px;
  padding: 17px 14px;
  border-right: 1px solid var(--line);
  font-size: 14px;
  text-align: left;
}

.story-tabs button:last-child { border-right: 0; }
.story-tabs b { color: var(--gold); font-size: 12px; }
.story-tabs button.active { color: #fff; background: var(--accent-dark); }
.story-tabs button.active b { color: #f4c16f; }

.story-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 440px; }

.story-panel {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  min-height: 440px;
  padding: clamp(28px, 4vw, 52px);
}

.story-panel { grid-column: 1 / -1; grid-row: 1; }
.story-panel.active { display: grid; animation: story-in 360ms ease both; }
.story-stage .story-panel { padding-inline: clamp(28px, 4vw, 52px); }
.story-copy span { color: var(--gold); font-size: 15px; font-weight: 850; letter-spacing: .015em; text-transform: uppercase; }
.story-copy h2 { margin: 10px 0 14px; font-size: clamp(30px, 3vw, 46px); line-height: 1.06; letter-spacing: -0.03em; }
.story-copy p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.story-file,
.story-app {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.story-file small { color: var(--accent-dark); font-size: 15px; font-weight: 850; }
.story-file strong { font-size: 24px; }
.story-file i { padding: 10px; border-radius: 6px; color: var(--green); background: #edf8f1; font-size: 12px; font-style: normal; font-weight: 800; }

.file-stack { position: relative; min-height: 235px; }
.file-stack i {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.file-stack i:nth-child(1) { transform: translate(-56%, -90%) rotate(-7deg); }
.file-stack i:nth-child(2) { transform: translate(-48%, -52%) rotate(4deg); }
.file-stack i:nth-child(3) { color: var(--red); transform: translate(-52%, -8%) rotate(-1deg); }

.story-alerts { display: grid; gap: 11px; }
.story-alerts i { padding: 15px 17px; border-left: 4px solid var(--red); border-radius: 7px; background: #fff4f2; box-shadow: 0 8px 22px rgba(180,35,24,.08); font-style: normal; font-weight: 750; }
.story-alerts i:nth-child(2) { margin-left: 20px; border-color: var(--gold); background: #fff8e9; }
.story-alerts i:nth-child(3) { margin-left: 7px; }

.story-solution { background: var(--accent-dark); }
.story-solution .story-copy h2 { color: #fff; }
.story-solution .story-copy p { color: #cce0dd; }
.story-app { grid-template-columns: 1fr 1fr; transform: rotate(-2deg); }
.story-app div { display: flex; grid-column: 1 / -1; justify-content: space-between; }
.story-app div small { color: var(--muted); }
.story-app span { display: grid; gap: 4px; padding: 13px; border-radius: 8px; background: var(--accent-soft); font-size: 11px; }
.story-app span b { color: var(--accent-dark); font-size: 23px; }
.story-app > i { grid-column: 1 / -1; padding: 12px; border-radius: 6px; color: var(--green); background: #edf8f1; font-style: normal; font-weight: 800; }

@keyframes story-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.package-card { display: flex; flex-direction: column; overflow: hidden; }
.package-visual { margin-top: auto; padding-top: 24px; }
.audit-visual { display: grid; gap: 8px; }
.audit-visual i { padding: 10px 12px 10px 35px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 12px; font-style: normal; font-weight: 750; }
.audit-visual i::before { margin-left: -22px; color: var(--accent); content: "✓"; }
.build-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 16px; border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(23,33,43,.08); }
.build-visual label { grid-column: 1 / -1; color: var(--accent-dark); font-size: 12px; font-weight: 850; }
.build-visual i { display: grid; gap: 4px; padding: 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 9px; font-style: normal; }
.build-visual i b { color: var(--ink); font-size: 11px; }
.build-visual button { grid-column: 1 / -1; padding: 9px; border: 0; border-radius: 6px; color: #fff; background: var(--accent); font-weight: 750; }
.care-visual { display: grid; gap: 12px; }
.care-visual i { display: flex; align-items: center; gap: 10px; font-size: 12px; font-style: normal; font-weight: 750; }
.care-visual b { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }

.method-section { padding-block: clamp(62px, 8vw, 104px); background: #102b29; }
.method-section .section-heading { color: #fff; }
.method-section .eyebrow { color: #f4c16f; }
.journey { max-width: 1180px; margin: 34px auto 0; }
.journey-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid rgba(255,255,255,.18); }
.journey-tabs button { display: flex; align-items: center; gap: 9px; padding: 17px 14px; color: #a8c1be; text-align: left; }
.journey-tabs button b { color: #f4c16f; font-size: 11px; }
.journey-tabs button.active { color: #fff; box-shadow: inset 0 -3px #f4c16f; }
.journey-stage { position: relative; display: grid; grid-template-columns: 112px minmax(0,1fr) 112px; align-items: center; min-height: 300px; }
.journey-panel { grid-column: 2; grid-row: 1; width: 100%; max-width: 900px; padding: clamp(32px, 5vw, 66px) 14px 10px; color: #fff; visibility: hidden; opacity: 0; pointer-events: none; }
.journey-panel.active { display: block; visibility: visible; opacity: 1; pointer-events: auto; animation: story-in 320ms ease both; }
.journey-panel small { color: #f4c16f; font-weight: 800; }
.journey-panel h3 { max-width: 720px; margin: 12px 0 15px; font-size: clamp(34px, 4.8vw, 62px); line-height: 1.02; letter-spacing: -0.04em; }
.journey-panel p { max-width: 720px; color: #c2d5d3; font-size: 17px; line-height: 1.65; }
.journey-panel strong { display: block; max-width: 720px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); color: #fff; }

.step-arrow {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 56px;
  padding: 9px 10px;
  color: var(--accent-dark);
  border: 1px solid rgba(15,118,110,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(21,55,52,.08);
  transform: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
  cursor: pointer;
}
.step-arrow-prev { grid-column: 1; grid-row: 1; justify-self: start; margin-left: 12px; }
.step-arrow-next { grid-column: 3; grid-row: 1; justify-self: end; margin-right: 12px; }
.step-arrow > span { font-size: 20px; line-height: 1; }
.step-arrow small { font-size: 10px; font-weight: 850; letter-spacing: .02em; }
.step-arrow:hover { color: #fff; border-color: var(--accent-dark); background: rgba(16,91,85,.9); transform: scale(1.03); }
.step-arrow:focus-visible { outline: 3px solid #f4c16f; outline-offset: 3px; }
.journey-stage .step-arrow { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.07); box-shadow: none; }
.journey-stage .step-arrow:hover { color: #102b29; border-color: #f4c16f; background: #f4c16f; }
.story-stage .step-arrow-prev { grid-column: 1; grid-row: 2; justify-self: start; margin: 0 0 14px 14px; }
.story-stage .step-arrow-next { grid-column: 2; grid-row: 2; justify-self: end; margin: 0 14px 14px 0; }

.conversion-dock {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 18px;
  left: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  max-width: 940px;
  margin-inline: auto;
  padding: 12px 12px 12px 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  color: #fff;
  background: rgba(16, 43, 41, .96);
  box-shadow: 0 18px 50px rgba(23,33,43,.24);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.conversion-dock.visible { opacity: 1; pointer-events: auto; transform: none; }
.conversion-dock div { display: grid; gap: 2px; }
.conversion-dock span { color: #bed1cf; font-size: 12px; }
.conversion-dock .secondary { color: #fff; border-color: rgba(255,255,255,.3); background: transparent; }
.site-footer { padding-bottom: 108px; }

@media (max-width: 980px) {
  .story-hero { grid-template-columns: 1fr; min-height: auto; }
  .story-intro { max-width: 780px; }
  .story-experience { width: 100%; }
}

@media (min-width: 981px) and (max-width: 1400px) {
  .story-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(500px, .85fr);
    gap: 46px;
    padding-block: 54px 62px;
  }

  .story-intro h1 { font-size: 56px; }
}

@media (max-width: 640px) {
  .story-hero { padding-block: 52px 38px; }
  .story-intro h1 { font-size: 37px; line-height: 1.05; }
  .story-tabs { overflow-x: auto; grid-template-columns: repeat(4, minmax(108px, 1fr)); }
  .story-tabs button { padding: 14px 11px; }
  .story-stage { min-height: 510px; }
  .story-stage,
  .journey-stage { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .story-panel { grid-column: 1 / -1; grid-row: 1; grid-template-columns: 1fr; align-content: center; min-height: 510px; padding: 25px 20px; }
  .story-copy h2 { font-size: 32px; }
  .story-file, .story-app { max-width: 300px; width: 100%; margin-inline: auto; }
  .file-stack { width: 82%; margin-inline: auto; }
  .journey-tabs { overflow-x: auto; grid-template-columns: repeat(5, minmax(96px, 1fr)); }
  .journey-tabs button { justify-content: center; padding-inline: 8px; }
  .journey-tabs button b { display: none; }
  .journey-panel h3 { font-size: 39px; }
  .journey-panel { grid-column: 1 / -1; grid-row: 1; padding-inline: 14px; padding-bottom: 30px; }
  .step-arrow { min-width: 40px; padding: 8px; }
  .step-arrow small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .step-arrow-prev { grid-column: 1; grid-row: 2; justify-self: start; margin: 0 0 14px 12px; }
  .step-arrow-next { grid-column: 2; grid-row: 2; justify-self: end; margin: 0 12px 14px 0; }
  .conversion-dock { right: 10px; bottom: 9px; left: 10px; grid-template-columns: 1fr 1fr; padding: 9px; }
  .conversion-dock div { display: none; }
  .conversion-dock .button { justify-content: center; padding: 10px 8px; font-size: 12px; }
  .site-footer { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  .story-panel.active,
  .journey-panel.active { animation: none; }
  .conversion-dock { transition: none; }
}

/* 2026 clarity refresh: reduce competing panels and reveal detail on demand. */
.compare-section,
.security-section,
.case-study {
  display: none;
}

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

.experience-band {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(340px, 1.2fr) minmax(260px, .75fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding-block: clamp(46px, 6vw, 74px);
  color: #fff;
  background: var(--accent-dark);
}

.experience-heading h2 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.experience-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.experience-link span { color: #f4c16f; transition: transform 160ms ease; }
.experience-link:hover span,
.experience-link:focus-visible span { transform: translateX(3px); }
.experience-link:focus-visible { outline: 2px solid #f4c16f; outline-offset: 5px; }

.experience-band .eyebrow { color: #f4c16f; }

.experience-band .experience-copy {
  max-width: 700px;
  margin: 0;
  color: #c7dcda;
  font-size: 16px;
  line-height: 1.65;
}

.experience-band .experience-facts {
  gap: 16px;
  margin: 0;
  padding: 0 0 0 clamp(22px, 3vw, 44px);
  border-top: 0;
  border-left: 1px solid rgba(255,255,255,.2);
}

.experience-band .experience-facts span {
  color: #c7dcda;
  font-size: 13px;
}

.experience-band .experience-facts strong {
  color: #fff;
  font-size: 14px;
}

.pain-check {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  padding: clamp(46px, 6vw, 74px) clamp(18px, 6vw, 76px);
  color: #fff;
  background: var(--accent-dark);
}
.pain-check .eyebrow { color: #f4c16f; }
.pain-check-heading h2 { max-width: 610px; margin: 0; font-size: clamp(31px, 3.7vw, 50px); line-height: 1.04; letter-spacing: -.035em; }
.pain-check-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.16); }
.pain-check-grid p { position: relative; min-height: 112px; margin: 0; padding: 25px 24px 22px 49px; color: #e4efed; background: #153b38; font-size: 15px; line-height: 1.55; }
.pain-check-grid p::before { position: absolute; top: 25px; left: 22px; color: #f4c16f; font-size: 18px; font-weight: 900; content: "?"; }

@media (max-width: 760px) {
  .pain-check { grid-template-columns: 1fr; }
  .pain-check-grid { grid-template-columns: 1fr; }
  .pain-check-grid p { min-height: 0; }
}

@media (max-width: 920px) {
  .experience-band { grid-template-columns: 1fr 1fr; }
  .experience-band .experience-facts { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
}

@media (max-width: 640px) {
  .experience-band { grid-template-columns: 1fr; gap: 20px; }
  .experience-band .experience-facts { grid-column: auto; }
}

.demo-guide {
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  padding: 16px 18px;
}

.demo-guide strong {
  color: var(--accent-dark);
  font-size: 15px;
}

.demo-guide div span {
  max-width: 650px;
  font-size: 14px;
  line-height: 1.45;
}

.app-shell {
  grid-template-columns: minmax(0, 1fr);
}

.app-shell .form-panel {
  display: none;
}

.app-shell.form-open {
  grid-template-columns: minmax(270px, 320px) minmax(0, 1fr);
}

.app-shell.form-open .form-panel {
  display: grid;
}

.form-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-panel-heading h2 {
  margin: 0;
}

.panel-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.panel-close:hover,
.panel-close:focus-visible {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.workspace {
  display: flex;
  flex-direction: column;
}

.workspace .planning-toolbar { order: 0; }
.workspace .metrics { order: 1; }
.workspace .toolbar { order: 2; }
.workspace .table-wrap,
.workspace .rota-grid,
.workspace .kanban,
.workspace .month-planner { order: 3; }
.workspace .dashboard-grid { order: 4; margin-top: 18px; }

.workspace .dashboard-grid .report-panel:not(.wide) {
  display: none;
}

.workspace .dashboard-grid {
  grid-template-columns: minmax(0, 1fr);
}

.metrics .metric:nth-child(n + 4) {
  display: none;
}

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

.self-serve-box {
  margin-top: 8px;
}

@media (max-width: 920px) {
  .demo-guide {
    grid-template-columns: 1fr auto auto;
  }

  .demo-guide div {
    grid-column: 1 / -1;
  }

  .app-shell.form-open {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .demo-guide {
    grid-template-columns: 1fr 1fr;
  }

  .demo-guide .demo-state {
    grid-column: 1 / -1;
  }

  .demo-guide .button {
    justify-content: center;
    width: 100%;
  }

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

  .metric {
    padding: 13px 10px;
  }

  .metric strong {
    font-size: 22px;
  }

  .workspace .dashboard-grid {
    margin-top: 14px;
  }

  .app-view {
    padding-top: 28px;
  }
}

/* Demo reporting views: one data source, two useful perspectives. */
.workspace-mode {
  display: inline-flex;
  width: fit-content;
  margin: 18px 0 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eef3f4;
}

.workspace-mode button {
  padding: 10px 15px;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.workspace-mode button.active {
  color: var(--accent-dark);
  background: #fff;
  box-shadow: 0 3px 10px rgba(23, 33, 43, .08);
}

.workspace:not(.reporting-view) > .dashboard-grid {
  display: none;
}

.workspace.reporting-view > .dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.workspace.reporting-view > .dashboard-grid .report-panel:not(.wide) {
  display: block;
}

.workspace.reporting-view > .toolbar,
.workspace.reporting-view > .table-wrap,
.workspace.reporting-view > .rota-grid,
.workspace.reporting-view > .kanban,
.workspace.reporting-view > .month-planner {
  display: none !important;
}

.workspace.reporting-view .report-panel {
  min-height: 245px;
  padding: clamp(18px, 2.5vw, 28px);
}

.workspace.reporting-view .report-panel.wide {
  min-height: 0;
}

.workspace.reporting-view .bar-chart,
.workspace.reporting-view .stage-chart,
.workspace.reporting-view .heatmap,
.workspace.reporting-view .donut-wrap {
  margin-top: 24px;
}

.archive-view { order: 6; margin-top: 18px; }
.workspace:not(.archived-view) > .archive-view { display: none; }
.workspace.archived-view > .metrics,
.workspace.archived-view > .repair-journey,
.workspace.archived-view > .dashboard-grid,
.workspace.archived-view > .toolbar,
.workspace.archived-view > .kanban { display: none !important; }
.archive-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.archive-heading h2 { margin: 4px 0 6px; font-size: 26px; }
.archive-heading p { margin: 0; color: var(--muted); }
.archive-heading label { min-width: 190px; color: var(--muted); font-size: 12px; font-weight: 800; }
.archive-heading select { width: 100%; margin-top: 6px; }
.archive-metrics { margin-bottom: 14px; }
.archive-reporting { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.archive-reporting .report-panel { min-height: 240px; }
.archive-reporting .bar-chart { margin-top: 24px; }
.archive-list { display: grid; gap: 8px; }
.archive-record { display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(160px, .7fr) minmax(180px, .8fr); align-items: center; gap: 18px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.archive-record > div { display: grid; gap: 4px; }
.archive-record > div:last-child { grid-template-columns: 1fr auto; align-items: center; }
.archive-record span:not(.pill),.archive-record small { color: var(--muted); }
.archive-record .pill { color: #fff; }
.archive-empty { padding: 28px; border: 1px dashed var(--line); border-radius: 9px; text-align: center; }

/* Guided demo missions and connected-data feedback. */
#orders { --demo-accent: var(--blue); --demo-soft: #edf4ff; }
#rota { --demo-accent: var(--gold); --demo-soft: #fff8e8; }
#property { --demo-accent: var(--accent); --demo-soft: #eaf7f5; }

.demo-guide {
  position: relative;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px 22px;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--demo-accent) 32%, var(--line));
  background: linear-gradient(135deg, var(--demo-soft), #fff 72%);
}

.demo-guide::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: var(--mission-progress, 0%);
  height: 4px;
  background: var(--demo-accent);
  transition: width 450ms cubic-bezier(.2,.75,.25,1);
  content: "";
}

.mission-intro { align-self: center; }
.mission-steps { display: grid !important; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
[data-demo-guide="property"] .mission-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mission-steps span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255,255,255,.72);
  font-size: 12px !important;
  font-weight: 800;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease, transform 220ms ease;
}
.mission-steps b { display: grid; flex: 0 0 25px; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: #a7b1ba; font-size: 11px; }
.mission-steps span.active { color: var(--ink); border-color: var(--demo-accent); background: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(23,33,43,.07); }
.mission-steps span.active b { background: var(--demo-accent); }
.mission-steps span.complete { color: var(--accent-dark); border-color: #9ed0ca; background: #f1faf8; }
.mission-steps span.complete b { color: transparent; background: var(--green); }
.mission-steps span.complete b::after { color: #fff; content: "✓"; }
.mission-actions { display: flex !important; grid-column: 1 / -1; flex-wrap: wrap; gap: 8px !important; }
.mission-play-note { grid-column: 1 / -1; margin: 2px 0 0; padding: 10px 13px; border-left: 3px solid #9ed0ca; border-radius: 0 7px 7px 0; color: var(--muted); background: #f1faf8; font-size: 12px; line-height: 1.5; }
.mission-play-note strong { color: var(--accent-dark); }

.demo-price-guide { margin: clamp(24px, 4vw, 46px) clamp(18px, 4vw, 56px); padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, #f7fbfa, #fff); box-shadow: 0 12px 34px rgba(23,33,43,.05); }
.demo-price-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.demo-price-heading h2 { margin: 5px 0 7px; font-size: clamp(25px, 3vw, 38px); line-height: 1.08; letter-spacing: -.03em; }
.demo-price-heading p { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.55; }
.demo-price-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.demo-price-card { padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.demo-price-card.recommended { border-color: #8fc7bd; background: #edf8f5; box-shadow: inset 0 4px 0 var(--accent); }
.demo-price-card > span { display: block; margin-bottom: 10px; color: var(--accent-dark); font-size: 11px; font-weight: 850; letter-spacing: .035em; text-transform: uppercase; }
.demo-price-card h3 { margin: 0 0 5px; font-size: 23px; }
.demo-price-card > strong { display: block; color: var(--accent-dark); font-size: 28px; }
.demo-price-card p { color: var(--muted); line-height: 1.55; }
.demo-price-card ul { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.demo-price-card li { position: relative; padding-left: 18px; color: var(--ink); line-height: 1.4; }
.demo-price-card li::before { position: absolute; top: .55em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); content: ""; }
.demo-price-note { margin: 14px 0 0; padding: 13px 15px; border-radius: 8px; color: var(--muted); background: #fff; font-size: 12px; line-height: 1.55; }
.demo-price-note strong { color: var(--accent-dark); }

.before-view {
  display: grid;
  grid-template-columns: minmax(260px,.72fr) minmax(360px,1.28fr);
  align-items: center;
  gap: 28px;
  margin: 0 0 18px;
  padding: 22px;
  border: 1px solid #dfd4c8;
  border-radius: 10px;
  background: linear-gradient(135deg,#fffaf4,#fff);
  box-shadow: 0 14px 34px rgba(76,55,34,.07);
}
.before-view[hidden] { display: none; }
.before-view > div:first-child { display: grid; gap: 7px; }
.before-view strong { font-size: 20px; }
.before-view p { margin: 0; color: var(--muted); line-height: 1.5; }
.file-chip { width: fit-content; padding: 6px 9px; border: 1px solid #c8d1d8; border-radius: 5px; color: #26734d; background: #fff; font: 800 12px/1.1 monospace; }
.sheet-preview { display: grid; grid-template-columns: repeat(4,minmax(80px,1fr)); overflow: hidden; border: 1px solid #cbd5dc; border-radius: 7px; background: #fff; transform: rotate(-1deg); box-shadow: 0 12px 26px rgba(23,33,43,.09); }
.sheet-preview span { min-height: 35px; padding: 9px; border-right: 1px solid #dce3e8; border-bottom: 1px solid #dce3e8; color: var(--muted); font: 12px/1.3 Arial,sans-serif; }
.sheet-preview span:nth-child(-n+4) { color: #fff; background: #34785f; font-weight: 800; }
.sheet-preview .cell-warning { color: #8a2f29; background: #ffe2df; font-weight: 850; }
.sheet-preview .cell-ok { color: #226b42; background: #e4f5e9; font-weight: 850; }

.live-update-banner {
  order: -2;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--demo-accent) 24%, var(--line));
  border-radius: 8px;
  background: var(--demo-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.live-update-banner > span { width: 9px; height: 9px; border-radius: 50%; background: var(--demo-accent); box-shadow: 0 0 0 0 color-mix(in srgb,var(--demo-accent) 30%,transparent); }
.live-update-banner strong { font-size: 12px; }
.live-update-banner small { color: var(--muted); font-size: 12px; }
.live-update-banner.active { background: #fff; transform: translateY(-2px); box-shadow: 0 9px 24px rgba(23,33,43,.1); }
.live-update-banner.active > span { animation: livePulse 900ms ease infinite; }

.app-shell.is-updating .metric { animation: metricPop 600ms cubic-bezier(.2,.8,.2,1); }
.app-shell.is-updating .mission-record { animation: recordGlow 1000ms ease; }
.stage-fill,.bar-fill { transition: width 500ms ease, height 500ms ease; }

.score-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: -2px 0 10px; }
.score-strip > span { display: grid; gap: 3px; padding: 9px 10px; border-radius: 7px; background: #f4f7f9; }
.score-strip small { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.score-strip strong { color: var(--accent-dark); font-size: 18px; }

.coverage-score { --coverage: 0%; display: grid; grid-template-columns: auto minmax(100px,1fr); align-items: center; gap: 16px; margin: 0 0 16px; padding: 12px 14px; border: 1px solid #cfe1dc; border-radius: 9px; background: #f4faf8; }
.coverage-score > span { display: grid; gap: 2px; }
.coverage-score strong { color: var(--accent-dark); font-size: 25px; line-height: 1; }
.coverage-score small { color: var(--muted); font-size: 10px; font-weight: 850; line-height: 1.2; text-transform: uppercase; letter-spacing: .04em; }
.coverage-score i { position: relative; display: block; height: 10px; overflow: hidden; border-radius: 999px; background: #dfe8e5; }
.coverage-score i b { display: block; width: var(--coverage); height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--gold),var(--green)); transition: width 500ms ease; }

.emergency-banner { order: -1; display: flex; align-items: center; gap: 11px; margin-bottom: 12px; padding: 11px 13px; border: 1px solid #edd0cd; border-radius: 8px; color: #762d28; background: #fff1ef; }
.emergency-banner.clear { color: #216340; border-color: #b9ddc8; background: #edf9f1; }
.emergency-banner > span { display: grid; flex: 0 0 29px; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: #fff; background: var(--red); font-weight: 900; }
.emergency-banner.clear > span { background: var(--green); }
.emergency-banner div { display: grid; gap: 1px; }
.emergency-banner small { color: inherit; opacity: .8; }
.repair-journey { order: 2; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.repair-journey span { display: flex; align-items: center; justify-content: center; gap: 8px; }
.repair-journey b { display: grid; place-items: center; min-width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--demo-accent); }
.repair-journey small { color: var(--muted); font-weight: 800; }
.repair-journey i { color: var(--gold); font-style: normal; font-weight: 900; }

.donut { background: conic-gradient(var(--red) 0 var(--urgent-share,30%),var(--gold) var(--urgent-share,30%) 70%,var(--accent) 70% 100%); transition: background 400ms ease; }

.demo-completion { display: grid; grid-template-columns: auto minmax(240px,1fr) auto auto; align-items: center; gap: 16px; margin: 18px 0 0; padding: 18px; border: 1px solid #aad5c5; border-radius: 10px; background: linear-gradient(135deg,#eaf8f2,#fff); opacity: 0; transform: translateY(10px); transition: opacity 350ms ease,transform 350ms ease; }
.demo-completion[hidden] { display: none; }
.demo-completion.visible { opacity: 1; transform: translateY(0); }
.demo-completion > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: var(--green); font-size: 21px; font-weight: 900; }
.demo-completion div { display: grid; gap: 3px; }
.demo-completion p { margin: 0; color: var(--muted); font-size: 13px; }
.demo-completion .button { white-space: nowrap; }

.workspace .metrics { order: 1; }
.workspace .repair-journey { order: 2; }
.workspace .workspace-mode { order: 3; }
.workspace .toolbar { order: 4; }
.workspace .table-wrap,.workspace .rota-grid,.workspace .kanban,.workspace .month-planner { order: 5; }
.workspace .dashboard-grid { order: 6; }

@keyframes livePulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb,var(--demo-accent) 0%,transparent); transform: scale(1.12); } }
@keyframes metricPop { 45% { border-color: var(--demo-accent); transform: translateY(-3px); box-shadow: 0 9px 22px rgba(23,33,43,.1); } }
@keyframes recordGlow { 35% { border-color: var(--demo-accent); background: var(--demo-soft); box-shadow: 0 0 0 3px color-mix(in srgb,var(--demo-accent) 15%,transparent); } }

@media (max-width: 760px) {
  .workspace-mode { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .workspace-mode button { padding-inline: 9px; }
  .workspace.reporting-view > .dashboard-grid { grid-template-columns: 1fr; }
  .workspace.reporting-view .report-panel { min-height: 0; }
  .before-view { grid-template-columns: 1fr; }
  .demo-completion { grid-template-columns: auto 1fr; }
  .demo-completion .button { justify-content: center; }
  .archive-heading { align-items: stretch; flex-direction: column; }
  .archive-reporting { grid-template-columns: 1fr; }
  .archive-record { grid-template-columns: 1fr; gap: 10px; }
  .demo-price-heading { align-items: stretch; flex-direction: column; }
  .demo-price-heading .button { justify-content: center; }
  .demo-price-options { grid-template-columns: 1fr; }
  .mission-steps span { align-items: flex-start; flex-direction: column; }
  [data-demo-guide="property"] .mission-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .demo-guide { grid-template-columns: 1fr; }
  .demo-guide .demo-state { grid-column: auto; }
  .mission-steps { grid-template-columns: 1fr; }
  [data-demo-guide="property"] .mission-steps { grid-template-columns: 1fr; }
  .mission-steps span { align-items: center; flex-direction: row; min-height: 40px; }
  .mission-actions { display: grid !important; grid-template-columns: 1fr; }
  .mission-actions .button { width: 100%; }
  .before-view { padding: 16px; }
  .sheet-preview { grid-template-columns: repeat(4,minmax(62px,1fr)); overflow-x: auto; transform: none; }
  .live-update-banner { grid-template-columns: auto 1fr; }
  .live-update-banner small { grid-column: 1 / -1; }
  .repair-journey { grid-template-columns: 1fr; }
  .repair-journey i { display: none; }
  .repair-journey span { justify-content: flex-start; }
  .demo-completion { grid-template-columns: 1fr; text-align: center; }
  .demo-completion > span { margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .app-shell.is-updating .metric,.app-shell.is-updating .mission-record,.live-update-banner.active > span { animation: none; }
  .stage-fill,.bar-fill,.demo-guide::after,.demo-completion { transition: none; }
}

/* Standalone crawlable content pages. */
.breadcrumbs { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 8px clamp(18px,6vw,76px); color: var(--muted); border-bottom: 1px solid var(--line); background: #fff; font-size: 12px; }
.breadcrumbs a { color: var(--accent-dark); font-weight: 800; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs span[aria-current="page"] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.standalone-main { min-height: calc(100vh - 65px); }
.standalone-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr);
  align-items: end;
  gap: clamp(34px, 7vw, 100px);
  padding: clamp(66px, 9vw, 124px) clamp(18px, 6vw, 76px);
  background: linear-gradient(145deg, #fbfdfc, #edf7f5);
}
.standalone-hero h1 { max-width: 800px; font-size: clamp(48px, 6vw, 82px); letter-spacing: -.045em; }
.standalone-hero p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.standalone-hero aside { padding: 25px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.7); }
.standalone-hero aside strong { display: block; margin-bottom: 9px; font-size: 20px; }
.standalone-hero aside span { color: var(--muted); line-height: 1.55; }
.standalone-section { padding: clamp(56px, 8vw, 100px) clamp(18px, 6vw, 76px); }
.standalone-section.alt { background: #f4f8f7; }
.standalone-section.dark { color: #fff; background: var(--accent-dark); }
.standalone-section.dark .eyebrow { color: #f4c16f; }
.standalone-section.dark .page-intro p { color: #c7dcda; }
.page-intro { max-width: 850px; margin-bottom: 34px; }
.page-intro h2 { margin: 0 0 14px; font-size: clamp(34px, 4.5vw, 58px); line-height: 1.04; letter-spacing: -.035em; }
.page-intro p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.page-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.page-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.page-card { padding: clamp(20px,3vw,32px); border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.page-card h2,.page-card h3 { margin: 10px 0; }
.page-card p,.page-card li { color: var(--muted); line-height: 1.6; }
.page-card ul { padding-left: 19px; }
.page-card .price { display: block; margin: 13px 0; color: var(--accent-dark); font-size: 23px; }
.page-tag { color: var(--accent-dark); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.standalone-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px clamp(18px,6vw,76px); color: #fff; background: #102b29; }
.standalone-cta div { display: grid; gap: 4px; }
.standalone-cta strong { font-size: 22px; }
.standalone-cta span { color: #c7dcda; }
.standalone-footer { padding-bottom: 34px; }
.standalone-products { display: block; }
.standalone-products .products-hero { padding-top: clamp(58px,8vw,100px); }
.standalone-products .site-footer { padding-bottom: 34px; }
.standalone-products .quote-builder { scroll-margin-top: 82px; }
.standalone-products .build-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.compact-deployment-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.compact-deployment-grid .deployment-card { min-height: 0; }
.crawler-note { max-width: 920px; margin: 0 auto; text-align: center; }
.standalone-section.dark .page-tag { color: #f4c16f; }
.standalone-section.dark .page-grid article { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.18); }
.standalone-section.dark .page-grid p { color: #c7dcda; }

/* About page: a more personal, editorial rhythm than the general sales pages. */
.about-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .7fr);
  align-items: center;
  min-height: 590px;
  background:
    radial-gradient(circle at 78% 22%, rgba(21,132,123,.12), transparent 30%),
    linear-gradient(145deg, #fbfdfc, #edf7f5);
}
.about-hero .about-hero-copy { max-width: 760px; }
.about-hero h1 { margin: 16px 0 24px; max-width: 720px; font-size: clamp(44px, 5vw, 68px); line-height: 1.02; }
.about-location { display: flex; align-items: center; gap: 9px; margin-top: 28px; color: var(--accent-dark); font-size: 14px; font-weight: 800; }
.about-location span { color: var(--gold); font-size: 11px; }
.about-portrait { width: min(100%,430px); margin: 0; justify-self: end; }
.about-portrait-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid rgba(16,91,85,.18); border-radius: 22px 22px 7px 22px; background: #dfecea; box-shadow: 0 28px 65px rgba(21,55,52,.15); }
.about-portrait-frame::after { content: ""; position: absolute; right: 0; bottom: 0; width: 70px; height: 6px; background: var(--gold); }
.about-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.about-portrait figcaption { display: flex; justify-content: space-between; gap: 18px; padding: 14px 4px 0; color: var(--muted); font-size: 13px; }
.about-portrait figcaption strong { color: var(--ink); }
.about-snapshot { display: grid; grid-template-columns: minmax(180px,.6fr) repeat(3,minmax(0,1fr)); gap: 0; margin: -30px auto 0; padding: 0 !important; overflow: hidden; border: 1px solid rgba(16,91,85,.16) !important; border-radius: 16px; background: #fff !important; box-shadow: 0 18px 42px rgba(21,55,52,.1); position: relative; z-index: 2; }
.about-snapshot > .eyebrow { display: flex; align-items: center; margin: 0; padding: 22px 24px; border-right: 1px solid var(--line); }
.about-snapshot > div { display: grid; align-content: center; gap: 6px; padding: 20px 24px; border-right: 1px solid var(--line); }
.about-snapshot > div:last-child { border-right: 0; }
.about-snapshot > div strong { margin: 0; color: var(--accent-dark); font-size: 23px; letter-spacing: -.02em; }
.about-snapshot > div span { font-size: 14px; }
.about-history-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(420px,1fr); gap: clamp(48px,8vw,120px); align-items: start; }
.about-history-layout .page-intro { margin: 0; }
.about-history-layout .page-intro h2 { font-size: clamp(34px,3.8vw,52px); }
.about-journey { position: relative; display: grid; gap: 0; margin: 4px 0 0; padding: 0; list-style: none; }
.about-journey::before { content: ""; position: absolute; top: 15px; bottom: 22px; left: 6px; width: 2px; background: #c9dfdc; }
.about-journey li { position: relative; padding: 0 0 30px 38px; }
.about-journey li::before { content: ""; position: absolute; top: 7px; left: 0; width: 14px; height: 14px; border: 3px solid #f7fbfa; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--accent); }
.about-journey span { display: block; margin-bottom: 5px; color: var(--accent-dark); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.about-journey strong { display: block; font-size: 20px; }
.about-journey p { margin: 7px 0 0; max-width: 520px; color: var(--muted); line-height: 1.55; }
.about-capabilities { margin-top: 56px; align-items: stretch; }
.about-capabilities .page-card { position: relative; min-height: 210px; border-radius: 14px; }
.about-capabilities .page-card.featured { color: #fff; border-color: var(--accent-dark); background: var(--accent-dark); transform: translateY(-12px); box-shadow: 0 20px 44px rgba(16,91,85,.16); }
.about-capabilities .page-card.featured .page-tag { color: #f4c16f; }
.about-capabilities .page-card.featured p { color: #c7dcda; }

/* Keep editorial pages composed on very wide and 4K displays. The page remains
   left-aligned inside a centred content field instead of stretching edge to edge. */
@media (min-width: 2200px) {
  .topbar,
  .breadcrumbs,
  .standalone-hero,
  .standalone-section,
  .standalone-cta,
  .standalone-footer {
    padding-inline: max(76px, calc((100vw - 1880px) / 2));
  }

  .about-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(430px, .62fr);
  }

  .about-hero .about-hero-copy,
  .about-hero h1 {
    max-width: 920px;
  }

  .about-snapshot {
    width: min(calc(100% - 152px), 1880px);
  }
}

/* Services page: a progressive route from review to connected system. */
.services-hero { min-height: 540px; align-items: center; }
.services-hero h1 { font-size: clamp(44px,5.2vw,72px); line-height: 1.01; }
.services-start { display: grid; gap: 10px; padding: 28px !important; border: 1px solid rgba(16,91,85,.16) !important; border-left: 4px solid var(--gold) !important; border-radius: 0 14px 14px 0; box-shadow: 0 18px 46px rgba(21,55,52,.08); }
.services-start strong { margin: 3px 0 0 !important; font-size: 27px !important; }
.services-start .text-link { margin-top: 7px; width: max-content; }
.services-intro { max-width: 780px; }
.services-intro h2 { font-size: clamp(36px,4vw,54px); }
.service-route { position: relative; display: grid; gap: 14px; width: 100%; }
.service-route::before { content: ""; position: absolute; top: 60px; bottom: 60px; left: 29px; width: 2px; background: #c9dfdc; }
.service-stage { position: relative; display: grid; grid-template-columns: 60px minmax(0,1fr) minmax(230px,.3fr); gap: clamp(22px,4vw,54px); align-items: center; width: 100%; padding: clamp(24px,3vw,38px); border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.service-stage-number { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; color: var(--accent-dark); border: 2px solid #c9dfdc; border-radius: 50%; background: #fff; font-size: 13px; font-weight: 900; }
.service-stage-copy h2 { margin: 7px 0 10px; font-size: clamp(25px,2.4vw,34px); letter-spacing: -.025em; }
.service-stage-copy p { margin: 0; max-width: 860px; color: var(--muted); line-height: 1.55; }
.service-stage-copy ul { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.service-stage-copy li { color: var(--accent-dark); font-size: 13px; font-weight: 750; }
.service-stage-copy li::before { content: "✓"; margin-right: 6px; color: #b97916; }
.service-stage-price { padding-left: 28px; border-left: 1px solid var(--line); }
.service-stage-price span,.service-stage-price small { display: block; color: var(--muted); }
.service-stage-price strong { display: block; margin: 2px 0 9px; color: var(--accent-dark); font-size: 32px; letter-spacing: -.03em; }
.service-stage-price small { line-height: 1.45; }
.service-stage.featured { color: #fff; border-color: var(--accent-dark); background: var(--accent-dark); box-shadow: 0 20px 50px rgba(16,91,85,.14); }
.service-stage.featured .service-stage-number { color: #102b29; border-color: #f4c16f; background: #f4c16f; }
.service-stage.featured .page-tag,.service-stage.featured .service-stage-copy li,.service-stage.featured .service-stage-price strong { color: #f4c16f; }
.service-stage.featured .service-stage-copy p,.service-stage.featured .service-stage-price span,.service-stage.featured .service-stage-price small { color: #c7dcda; }
.service-stage.featured .service-stage-price { border-color: rgba(255,255,255,.2); }
.services-enhancements { display: grid; grid-template-columns: minmax(280px,.65fr) minmax(0,1.35fr); gap: clamp(40px,7vw,100px); background: #f4f8f7; }
.services-enhancement-intro h2 { margin: 10px 0 14px; font-size: clamp(34px,3.7vw,50px); line-height: 1.04; letter-spacing: -.035em; }
.services-enhancement-intro > p:last-child { color: var(--muted); line-height: 1.6; }
.services-enhancement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.services-enhancement-grid article { padding: clamp(25px,3vw,36px); border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.services-enhancement-grid h3 { margin: 12px 0; font-size: 24px; }
.services-enhancement-grid p { color: var(--muted); line-height: 1.6; }
.services-enhancement-grid strong { display: block; margin-top: 24px; color: var(--accent-dark); font-size: 20px; }
.delivery-flow article { position: relative; }
.delivery-flow article:not(:last-child)::after { content: "→"; position: absolute; top: 19px; right: -12px; z-index: 2; color: #f4c16f; font-size: 21px; }
.offer-pill { display: inline-flex; width: max-content; padding: 7px 10px; color: #102b29 !important; border-radius: 999px; background: #f4c16f; font-size: 11px !important; font-weight: 900; line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.offer-credit { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 0; padding: 28px clamp(18px,6vw,76px); color: #fff; background: #102b29; }
.offer-credit div { max-width: 1050px; }
.offer-credit .page-tag { color: #f4c16f; }
.offer-credit strong { display: block; margin: 7px 0; font-size: clamp(21px,2vw,28px); }
.offer-credit p { margin: 0; color: #c7dcda; line-height: 1.55; }
.offer-credit .text-link { flex: 0 0 auto; color: #fff; }
.offer-credit.compact { margin: 22px 0 8px; padding: 22px 24px; border-radius: 12px; }

.deployment-recommendation {
  display: grid;
  gap: 6px;
  max-width: 850px;
  margin: 28px 0 24px;
  padding: 22px 24px;
  border: 1px solid #b8d9d5;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  background: #f2faf8;
}
.deployment-recommendation strong { font-size: 21px; }
.deployment-recommendation p { margin: 0; color: var(--muted); line-height: 1.55; }

.demo-detail-main { overflow: hidden; }
.demo-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  align-items: center;
  gap: clamp(34px, 8vw, 110px);
  min-height: 480px;
  padding: clamp(58px, 8vw, 104px) clamp(22px, 6vw, 88px);
  background: linear-gradient(135deg, #f8fbfa, #edf7f5);
}
.demo-detail-hero > div { max-width: 760px; }
.demo-detail-hero h1 { max-width: 900px; margin: 12px 0 18px; font-size: clamp(46px, 5.5vw, 76px); line-height: .98; letter-spacing: -.05em; }
.demo-detail-hero p { max-width: 720px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.demo-detail-hero aside { display: grid; gap: 12px; padding: 28px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.demo-detail-hero aside .card-icon { margin-bottom: 5px; }
.demo-detail-hero aside strong { font-size: 23px; }
.demo-detail-hero aside p { margin: 0; font-size: 15px; }
.demo-embed-section { padding: clamp(52px, 7vw, 88px) clamp(14px, 3vw, 42px); background: #fff; }
.demo-embed-section > .section-heading { max-width: 1240px; margin: 0 auto 28px; }
.demo-embed-shell { max-width: 1500px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 22px 60px rgba(23,33,43,.1); }
.demo-embed { display: block; width: 100%; min-height: 900px; border: 0; background: var(--paper); }
.demo-embed-body .topbar,
.demo-embed-body .demo-home-link,
.demo-embed-body .demo-contact,
.demo-embed-body .site-footer,
.demo-embed-body .conversion-dock { display: none !important; }
.demo-embed-body .app-view { padding-top: 26px; }
.demo-embed-body .section-heading { padding-inline: clamp(18px, 4vw, 56px); }

.industry-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.industry-card { display: grid; align-content: start; gap: 12px; min-height: 330px; padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 12px 34px rgba(23,33,43,.04); transition: transform 180ms ease, box-shadow 180ms ease; }
.industry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.industry-card > span { color: var(--accent-dark); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.industry-card h2 { margin: 0; font-size: clamp(25px, 2.2vw, 34px); line-height: 1.08; letter-spacing: -.025em; }
.industry-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.industry-card strong { align-self: end; margin-top: auto; color: var(--accent-dark); }
.industry-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr); align-items: center; gap: clamp(38px, 8vw, 116px); min-height: 620px; padding: clamp(64px, 9vw, 118px) clamp(22px, 6vw, 88px); background: linear-gradient(135deg, #f9fcfb, #eaf5f3); }
.industry-hero > div { max-width: 860px; }
.industry-hero h1 { max-width: 940px; margin: 12px 0 20px; font-size: clamp(50px, 6vw, 82px); line-height: .98; letter-spacing: -.055em; }
.industry-hero p { max-width: 780px; color: var(--muted); font-size: 18px; line-height: 1.68; }
.industry-signal { padding: 30px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.industry-signal > span { display: block; margin-bottom: 16px; color: var(--accent-dark); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.industry-signal ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.industry-signal li { position: relative; padding-left: 20px; color: var(--ink); line-height: 1.5; }
.industry-signal li::before { position: absolute; top: .55em; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); content: ""; }
.industry-journey { padding: clamp(60px, 8vw, 108px) clamp(22px, 6vw, 88px); background: #fff; }
.industry-journey-heading { max-width: 920px; margin-bottom: 34px; }
.industry-journey-heading h2 { max-width: 850px; margin: 10px 0 16px; font-size: clamp(36px, 4vw, 56px); line-height: 1.03; letter-spacing: -.04em; }
.industry-journey-heading > p:last-child { max-width: 720px; color: var(--muted); line-height: 1.65; }
.industry-journey-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.industry-journey-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.industry-journey-grid article > span { display: block; padding: 16px 22px; color: #6f4b46; background: #fff4f1; font-size: 12px; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; }
.industry-journey-grid article.after > span { color: var(--accent-dark); background: var(--accent-soft); }
.industry-journey-grid ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: journey; }
.industry-journey-grid li { position: relative; min-height: 67px; padding: 20px 22px 18px 64px; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.5; counter-increment: journey; }
.industry-journey-grid li::before { position: absolute; top: 18px; left: 22px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #81534d; background: #fff0ec; font-size: 10px; font-weight: 900; content: counter(journey, decimal-leading-zero); }
.industry-journey-grid .after li { color: var(--ink); font-weight: 650; }
.industry-journey-grid .after li::before { color: var(--accent-dark); background: var(--accent-soft); }
.industry-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.industry-facts span { display: grid; gap: 5px; padding: 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; color: #c7dcda; }
.industry-facts strong { color: #fff; }
.legal-page { padding: clamp(56px, 8vw, 104px) clamp(22px, 7vw, 120px); background: linear-gradient(180deg, #f4faf8 0, #fbfcfd 480px); }
.legal-page > header { max-width: 900px; margin: 0 auto 46px; }
.legal-page h1 { max-width: 850px; margin: 12px 0 18px; font-size: clamp(46px, 6vw, 76px); line-height: 1; letter-spacing: -.05em; }
.legal-page > header > p:last-child { color: var(--muted); }
.legal-content { max-width: 900px; margin: 0 auto; padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.legal-content h2 { margin: 34px 0 10px; font-size: 24px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--muted); line-height: 1.72; }
.legal-content a { color: var(--accent-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

.guided-arrow {
  position: fixed;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid #a8ddc8;
  border-radius: 999px;
  color: #216b54;
  background: rgba(223, 246, 236, .96);
  box-shadow: 0 8px 22px rgba(42, 112, 86, .2);
  opacity: 0;
  transform: scale(.92);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.guided-arrow.visible { opacity: 1; transform: scale(1); }
.guided-arrow span { font-size: 25px; line-height: 1; animation: guide-nudge 1.05s ease-in-out infinite; }
.guided-arrow small { font-size: 10px; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; }
.guided-arrow.from-top { flex-direction: column; }
.guided-arrow.from-top span { animation-name: guide-nudge-down; }

@keyframes guide-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
@keyframes guide-nudge-down {
  0%, 100% { transform: rotate(90deg) translateX(0); }
  50% { transform: rotate(90deg) translateX(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .guided-arrow span { animation: none; }
  .guided-arrow.from-top span { transform: rotate(90deg); }
}

@media (max-width: 920px) {
  .demo-detail-hero { grid-template-columns: 1fr; min-height: 0; }
  .industry-directory { grid-template-columns: 1fr; }
  .industry-card { min-height: 0; }
  .industry-hero { grid-template-columns: 1fr; min-height: 0; }
  .industry-journey-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .standalone-hero { grid-template-columns: 1fr; }
  .page-grid,.compact-deployment-grid { grid-template-columns: 1fr 1fr; }
  .about-hero { min-height: 0; }
  .about-portrait { width: min(100%,520px); justify-self: start; }
  .about-snapshot { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 0; }
  .about-snapshot > .eyebrow { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-history-layout { grid-template-columns: 1fr; gap: 46px; }
  .about-capabilities .page-card.featured { transform: none; }
  .service-stage { grid-template-columns: 58px 1fr; }
  .service-stage-price { grid-column: 2; padding: 18px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .service-stage.featured .service-stage-price { border-color: rgba(255,255,255,.2); }
  .services-enhancements { grid-template-columns: 1fr; }
  .delivery-flow article:not(:last-child)::after { display: none; }
  .offer-credit { align-items: flex-start; flex-direction: column; }
  .packages-heading-row { align-items: stretch; flex-direction: column; gap: 20px; }
  .pricing-page-link { flex-basis: auto; max-width: 520px; }
}
@media (max-width: 640px) {
  .standalone-hero { padding-block: 48px; }
  .standalone-hero h1 { font-size: 35px; line-height: 1.08; }
  .page-grid,.page-grid.two,.compact-deployment-grid { grid-template-columns: 1fr; }
  .standalone-products .build-grid { grid-template-columns: 1fr; }
  .standalone-cta { align-items: stretch; flex-direction: column; }
  .standalone-cta .button { justify-content: center; }
  .about-hero h1 { font-size: 35px; }
  .about-portrait figcaption { align-items: flex-start; flex-direction: column; gap: 3px; }
  .about-snapshot { grid-template-columns: 1fr; border-radius: 12px; }
  .about-snapshot > .eyebrow { grid-column: auto; }
  .about-snapshot > div { grid-template-columns: 1fr; gap: 5px; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-snapshot > div:last-child { border-bottom: 0; }
  .service-route::before { display: none; }
  .service-stage { grid-template-columns: 1fr; }
  .service-stage-number { width: 46px; height: 46px; }
  .service-stage-price { grid-column: auto; }
  .services-enhancement-grid { grid-template-columns: 1fr; }
  .demo-detail-hero { padding-block: 48px; }
  .demo-detail-hero h1 { font-size: 35px; line-height: 1.06; }
  .demo-detail-hero aside { padding: 22px; }
  .demo-embed-section { padding-inline: 0; }
  .demo-embed-section > .section-heading { padding-inline: 20px; }
  .demo-embed-shell { border-right: 0; border-left: 0; border-radius: 0; }
  .industry-hero { padding-block: 52px; }
  .industry-hero h1 { font-size: 35px; line-height: 1.05; }
  .industry-signal { padding: 22px; }
  .industry-facts { grid-template-columns: 1fr; }
  .legal-page h1 { font-size: 35px; line-height: 1.06; }
  .legal-content { padding: 24px 20px; }
}
.service-stage-note{max-width:720px;margin:14px 0 4px;padding:13px 15px;border-left:3px solid var(--gold);background:rgba(255,255,255,.65)}
.review-stage{border-color:rgba(11,108,99,.35);box-shadow:0 18px 45px rgba(13,77,72,.08)}
.review-stage .service-stage-price{background:#f4fbf9}
.fit-section{background:linear-gradient(135deg,#f4faf8,#fff)}
.fit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.fit-grid article{padding:clamp(24px,4vw,42px);border:1px solid var(--line);border-radius:18px;background:#fff}.fit-grid ul{display:grid;gap:13px;margin:20px 0;padding:0;list-style:none}.fit-grid li{position:relative;padding-left:24px}.fit-grid li::before{position:absolute;left:0;color:var(--accent);font-weight:900;content:"✓"}.fit-grid article:nth-child(2) li::before{color:var(--gold);content:"·"}.fit-grid p{color:var(--muted)}
.problem-guide-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.deployment-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px 0}.deployment-route-grid article{padding:28px;border:1px solid var(--line);border-radius:16px;background:#fff}.deployment-route-grid article.recommended{color:#fff;border-color:var(--accent);background:var(--accent-dark)}.deployment-route-grid article.recommended .page-tag{color:#ffd083}.deployment-route-grid h3{margin:12px 0 8px;font-size:24px}.deployment-route-grid p{min-height:72px;color:var(--muted)}.deployment-route-grid .recommended p{color:#c8dcda}.deployment-route-grid strong{display:block;margin-top:18px;font-size:18px}
.deployment-details{margin-top:18px;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.deployment-details summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;cursor:pointer;font-weight:850;list-style:none}.deployment-details summary::-webkit-details-marker{display:none}.deployment-details summary::after{color:var(--accent);font-size:22px;content:"+"}.deployment-details[open] summary::after{content:"−"}.deployment-details summary small{margin-left:auto;color:var(--muted);font-weight:500}.deployment-details .compact-deployment-grid{padding:0 22px 22px}
@media(max-width:1050px){.problem-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.deployment-route-grid{grid-template-columns:1fr}.deployment-route-grid p{min-height:0}}
@media(max-width:720px){.fit-grid,.problem-guide-grid{grid-template-columns:1fr}.deployment-details summary{align-items:flex-start;flex-direction:column}.deployment-details summary small{margin:0}.deployment-details .compact-deployment-grid{padding:0 12px 12px}}
.solution-hero{grid-template-columns:minmax(0,1.15fr) minmax(320px,.72fr)}.solution-hero h1{max-width:900px}.solution-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.solution-signal{display:grid!important;align-content:center;gap:0!important;padding:30px!important}.solution-signal strong{margin-bottom:13px;font-size:21px}.solution-signal span{padding:11px 0;border-bottom:1px solid var(--line);color:var(--muted)}.solution-signal span:last-child{border:0}.solution-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.solution-compare article{padding:clamp(25px,4vw,46px);border:1px solid var(--line);border-radius:18px;background:#fff}.solution-compare article:last-child{background:#f1f9f7}.solution-compare h3{margin:13px 0;font-size:27px}.solution-compare ul{display:grid;gap:10px;padding-left:20px;color:var(--muted)}.solution-copy{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.75fr);align-items:start;gap:clamp(30px,7vw,100px)}.solution-copy h2{font-size:clamp(34px,4vw,54px);line-height:1.03}.solution-copy p{color:var(--muted)}.solution-feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.solution-feature-list span{padding:16px;border:1px solid var(--line);border-radius:10px;background:#fff;font-weight:800}.solution-note{padding:28px;border-left:4px solid var(--gold);border-radius:0 14px 14px 0;background:#fff8e8}.solution-note strong{font-size:20px}.solution-flow{display:flex;align-items:center;justify-content:center;gap:12px;padding:25px;border:1px solid var(--line);border-radius:16px;background:#fff;overflow-x:auto}.solution-flow span{flex:0 0 auto;padding:12px 16px;border-radius:999px;background:var(--accent-soft);font-weight:800}.solution-flow b{color:var(--gold)}
@media(max-width:900px){.solution-hero,.solution-copy{grid-template-columns:1fr}.solution-compare{grid-template-columns:1fr}}
@media(max-width:600px){.solution-actions{align-items:stretch;flex-direction:column}.solution-actions .button{justify-content:center}.solution-feature-list{grid-template-columns:1fr}.solution-flow{justify-content:flex-start}}
@media(max-width:1100px){.demo-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.demo-picker{grid-template-columns:1fr}}

/* The primary navigation now includes Industries; collapse it before links become cramped. */
@media (max-width: 760px) {
  .topbar {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 14px;
    left: 14px;
    display: none;
    width: auto;
    margin: 0;
    padding: 10px;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(20, 45, 43, .16);
  }

  .topbar.nav-open .nav { display: grid; }
  .nav a,
  .nav .nav-cta {
    display: block;
    width: 100%;
    margin: 0;
    padding: 11px 12px;
  }
}
.demo-directory{grid-template-columns:repeat(4,minmax(260px,1fr));overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin}.demo-directory .page-card{scroll-snap-align:start}
@media(max-width:1100px){.demo-directory{grid-template-columns:repeat(4,minmax(280px,1fr));padding-bottom:12px}}

/* Responsive composition pass: give editorial headings room without making body copy too wide. */
@media (min-width: 921px) and (max-width: 1600px) {
  .standalone-hero,
  .industry-hero,
  .demo-detail-hero,
  .solution-hero {
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, .58fr);
    gap: clamp(34px, 4.5vw, 72px);
  }

  .standalone-hero h1,
  .industry-hero h1,
  .demo-detail-hero h1 {
    max-width: 940px;
    font-size: clamp(52px, 4.7vw, 68px);
  }

  .about-hero {
    grid-template-columns: minmax(0, 1.32fr) minmax(330px, .68fr);
  }

  .about-hero h1 { max-width: 860px; }
}

@media (min-width: 1601px) {
  .standalone-hero,
  .industry-hero,
  .demo-detail-hero,
  .solution-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  }

  .standalone-hero h1,
  .industry-hero h1,
  .demo-detail-hero h1 { max-width: 1040px; }

  .demo-detail-hero > div { max-width: 960px; }
  .about-hero .about-hero-copy { max-width: 920px; }
}

@media (min-width: 2200px) {
  .story-hero {
    grid-template-columns: minmax(0, .9fr) minmax(760px, 1.1fr);
    min-height: 980px;
    padding-block: 140px;
    padding-inline: max(90px, calc((100vw - 2100px) / 2));
  }

  .story-intro h1 { max-width: 880px; }
  .story-experience { max-width: 1160px; }
}
