:root {
  --ink: #12263a;
  --ink-soft: #486072;
  --navy: #0b2437;
  --navy-2: #15384d;
  --teal: #1c8b82;
  --teal-dark: #116e68;
  --teal-pale: #e6f4f1;
  --sand: #f4efe6;
  --cream: #fbfaf7;
  --white: #ffffff;
  --line: #dbe3e5;
  --line-dark: #c6d1d4;
  --gold: #bf8f42;
  --green: #268268;
  --red: #b74e4e;
  --gradient-buy: linear-gradient(135deg, #18d7d2 0%, #087ac2 48%, #052e77 100%);
  --gradient-sell: linear-gradient(135deg, #ffe873 0%, #ffb32e 46%, #c84d10 100%);
  --gradient-submit: linear-gradient(135deg, #35e86b 0%, #06c6b8 45%, #0548a6 100%);
  --gradient-signature:
    radial-gradient(circle at 88% 10%, rgba(105, 86, 255, 0.5), transparent 30%),
    linear-gradient(135deg, #061a36 0%, #191f60 56%, #4b236f 100%);
  --gradient-correction: linear-gradient(135deg, #b9362e 0%, #ec711e 54%, #f2ae32 100%);
  --gradient-accept: linear-gradient(135deg, #95f5ad 0%, #1d9b59 44%, #053f27 100%);
  --green-rich: #053f27;
  --amber: #d58a18;
  --shadow: 0 18px 50px rgba(12, 38, 55, 0.1);
  --shadow-soft: 0 8px 28px rgba(12, 38, 55, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 78px;
  color: var(--ink);
  background: var(--cream);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  color: inherit;
}

button,
select {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.prototype-banner {
  position: sticky;
  z-index: 60;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 34px;
  padding: 6px 20px;
  color: #dce9eb;
  background: var(--navy);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.prototype-banner strong {
  color: #8bd1c9;
  font-weight: 800;
}

.prototype-banner button {
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  color: white;
  background: transparent;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 4.5vw;
  border-bottom: 1px solid rgba(18, 38, 58, 0.08);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand > span:last-child span {
  color: var(--teal);
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 29px;
  height: 29px;
  transform: rotate(45deg);
  border: 3px solid var(--teal);
  border-radius: 7px 7px 4px 7px;
}

.brand-mark span:first-child {
  position: absolute;
  top: 9px;
  left: 4px;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--teal);
}

.brand-mark span:last-child {
  position: absolute;
  top: 4px;
  left: 9px;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--teal);
}

nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 32px;
}

.nav-link {
  position: relative;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #667a87;
  font-size: 13px;
  font-weight: 700;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--teal);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
}

.nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.demo-mode-badge {
  padding: 7px 9px;
  border: 1px solid #d8b97e;
  border-radius: 8px;
  color: #73561f;
  background: #fff8e7;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.role-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #70818c;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.role-switcher select {
  min-width: 104px;
  padding: 9px 32px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

.avatar-button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--navy-2);
  font-size: 12px;
  font-weight: 800;
}

.view {
  display: none;
}

.view.active {
  display: block;
  animation: view-in 260ms ease both;
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.content-shell,
.dashboard-shell,
.workflow-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.92fr);
  min-height: 580px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.97), rgba(251, 250, 247, 0.8)),
    radial-gradient(circle at 82% 25%, #d8ebe8, transparent 35%);
}

.hero-copy {
  align-self: center;
  max-width: 690px;
  padding: 72px 3vw 76px max(4.5vw, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 5.5vw, 77px);
  font-weight: 500;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--teal);
  font-weight: 500;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 650px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.search-icon {
  position: relative;
  width: 19px;
  height: 19px;
  margin-left: 10px;
  border: 2px solid #66808e;
  border-radius: 50%;
}

.search-icon::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  transform: rotate(45deg);
  background: #66808e;
  content: "";
}

.search-box input {
  flex: 1;
  min-width: 0;
  padding: 11px 4px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.primary-button,
.secondary-button {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  transition: 160ms ease;
}

.primary-button {
  border: 1px solid rgba(8, 122, 194, 0.55);
  color: white;
  background: var(--gradient-buy);
  box-shadow: 0 10px 24px rgba(8, 122, 194, 0.24);
}

.primary-button:hover {
  border-color: rgba(24, 215, 210, 0.82);
  filter: saturate(1.08) brightness(1.03);
  transform: translateY(-1px);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.secondary-button {
  border: 1px solid var(--line-dark);
  color: var(--ink);
  background: white;
}

.secondary-button:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.cancel-button,
.reject-button,
button[data-action="reject-offer"] {
  border-color: rgba(183, 78, 78, 0.75);
  color: white;
  background: #c92f35;
  box-shadow: 0 9px 22px rgba(201, 47, 53, 0.18);
}

.cancel-button:hover,
.reject-button:hover,
button[data-action="reject-offer"]:hover {
  border-color: #a71f26;
  color: white;
  background: #a71f26;
}

button[data-action="mock-sign-agreement"] {
  border-color: rgba(105, 86, 255, 0.55);
  background: var(--gradient-signature);
  box-shadow: 0 12px 28px rgba(25, 31, 96, 0.26);
}

button[data-action="mock-sign-agreement"]:hover {
  color: white;
  filter: saturate(1.06) brightness(1.04);
}

button[data-action="accept-offer"],
button[data-action="accept-counter"] {
  border-color: rgba(5, 63, 39, 0.85);
  background: var(--gradient-accept);
  box-shadow: 0 10px 24px rgba(5, 63, 39, 0.24);
}

button[data-action="accept-offer"]:hover,
button[data-action="accept-counter"]:hover {
  border-color: var(--green-rich);
  color: white;
}

button[data-action="counter-offer"],
button[data-action="counter-back"],
button[data-action="submit-counter"] {
  border-color: rgba(213, 138, 24, 0.9);
  color: #241606;
  background: linear-gradient(135deg, #ffd768 0%, var(--amber) 100%);
  box-shadow: 0 9px 22px rgba(213, 138, 24, 0.2);
}

button[data-action="counter-offer"]:hover,
button[data-action="counter-back"]:hover,
button[data-action="submit-counter"]:hover {
  border-color: #b8740d;
  color: #241606;
}

button[data-action="return-correction"] {
  border-color: rgba(185, 54, 46, 0.7);
  color: white;
  background: var(--gradient-correction);
  box-shadow: 0 10px 24px rgba(185, 54, 46, 0.2);
}

button[data-action="return-correction"]:hover {
  border-color: #a62d26;
  color: white;
}

button[data-action="approve-contract"],
button[data-action="start-offer"] {
  border-color: rgba(24, 215, 210, 0.55);
  background: var(--gradient-buy);
  box-shadow: 0 11px 26px rgba(8, 122, 194, 0.25);
}

button[data-action="approve-contract"]:hover,
button[data-action="start-offer"]:hover,
.submit-offer-button:hover {
  color: white;
}

.submit-offer-button {
  border-color: rgba(53, 232, 107, 0.55);
  background: var(--gradient-submit);
  box-shadow: 0 12px 28px rgba(6, 198, 184, 0.24);
}

button[data-action="view-contract"],
.contract-preview-button {
  border-color: var(--line-dark);
  color: var(--ink);
  background: white;
  box-shadow: none;
}

button[data-action="view-contract"]:hover,
.contract-preview-button:hover {
  border-color: var(--teal);
  color: var(--navy);
  background: white;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 24px;
  color: #607480;
  font-size: 12px;
  font-weight: 700;
}

.trust-row i {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  margin-right: 5px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-style: normal;
}

.hero-visual {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(24, 65, 79, 0.03), rgba(23, 120, 111, 0.12)),
    #eef1ec;
}

.visual-glow {
  position: absolute;
  top: -80px;
  left: -70px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  filter: blur(4px);
}

.house-scene {
  position: absolute;
  inset: 58px 0 0 30px;
  overflow: hidden;
  border-radius: 160px 0 0 0;
  background:
    linear-gradient(180deg, #d9e9e6 0%, #f0ede3 59%, #91a177 60%, #708665 100%);
}

.sky-orb {
  position: absolute;
  top: 58px;
  right: 95px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #f6dfaa;
  box-shadow: 0 0 60px rgba(246, 223, 170, 0.75);
}

.house {
  position: absolute;
  right: 11%;
  bottom: 18%;
  width: 68%;
  height: 49%;
  filter: drop-shadow(0 22px 22px rgba(19, 51, 61, 0.2));
}

.house .roof {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 8%;
  width: 84%;
  height: 34%;
  transform: skewX(-22deg);
  background: #324a4d;
  clip-path: polygon(14% 0, 87% 0, 100% 100%, 0 100%);
}

.house .wall {
  position: absolute;
  right: 10%;
  bottom: 0;
  left: 10%;
  height: 72%;
  border: 7px solid #fbf8ef;
  background:
    repeating-linear-gradient(0deg, #e7dfce 0, #e7dfce 8px, #d9d0bd 9px, #d9d0bd 10px);
}

.house .window,
.house .door {
  position: absolute;
  z-index: 3;
  bottom: 14%;
  border: 5px solid #f7f3e7;
  background:
    linear-gradient(90deg, transparent 47%, #f7f3e7 48%, #f7f3e7 53%, transparent 54%),
    linear-gradient(0deg, transparent 47%, #f7f3e7 48%, #f7f3e7 53%, transparent 54%),
    #6f9da0;
}

.house .window {
  width: 21%;
  height: 36%;
}

.house .window.one {
  left: 18%;
}

.house .window.two {
  right: 17%;
}

.house .door {
  left: 43%;
  width: 15%;
  height: 48%;
  background: #b36c51;
}

.landscape {
  position: absolute;
  right: -20px;
  bottom: -25px;
  left: -30px;
  height: 150px;
  background:
    radial-gradient(ellipse at 13% 60%, #4b6c5d 0 18%, transparent 19%),
    radial-gradient(ellipse at 80% 70%, #516f5d 0 24%, transparent 25%),
    linear-gradient(12deg, transparent 0 35%, rgba(225, 218, 195, 0.88) 36% 52%, transparent 53%);
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.floating-card small {
  display: block;
  color: #6a7d87;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.floating-card strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
}

.offer-float {
  top: 94px;
  left: 22px;
  gap: 11px;
}

.mini-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-family: Georgia, serif;
  font-weight: 800;
}

.success-dot {
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-radius: 50%;
  background: #3c9f7d;
  box-shadow: 0 0 0 5px rgba(60, 159, 125, 0.12);
}

.timeline-float {
  right: 22px;
  bottom: 52px;
  display: block;
  width: min(285px, 68%);
}

.timeline-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 750;
}

.timeline-head strong {
  margin: 0;
  color: var(--teal-dark);
  font-size: 12px;
}

.mini-progress {
  height: 7px;
  margin: 10px 0;
  overflow: hidden;
  border-radius: 9px;
  background: #e5ecec;
}

.mini-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.content-shell {
  padding-top: 76px;
  padding-bottom: 88px;
}

.section-heading,
.dashboard-header,
.transaction-top,
.workflow-title-row,
.card-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.process-band h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
}

.text-button,
.back-button {
  padding: 7px 0;
  border: 0;
  color: var(--teal-dark);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.text-button span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 160ms ease;
}

.text-button:hover span {
  transform: translateX(4px);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 30px 0 24px;
}

.filter {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #5b707c;
  background: white;
  font-size: 12px;
  font-weight: 750;
}

.filter.active {
  border-color: var(--navy);
  color: white;
  background: var(--navy);
}

.results-count {
  margin-left: auto;
  color: #758690;
  font-size: 12px;
}

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

.property-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 30px rgba(12, 38, 55, 0.055);
  transition: 180ms ease;
}

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

.property-image,
.detail-image,
.aside-image {
  position: relative;
  overflow: hidden;
  background-color: #d8e4e0;
}

.property-image {
  height: 230px;
}

.property-image-link {
  width: 100%;
  cursor: pointer;
  transition:
    filter 160ms ease,
    transform 160ms ease;
}

.property-image-link:hover {
  filter: saturate(1.08) brightness(1.02);
}

.property-image-open {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  border: 0;
  background: transparent;
}

.property-image-open:focus-visible {
  outline: 3px solid rgba(24, 215, 210, 0.8);
  outline-offset: -3px;
}

.property-image::before,
.detail-image::before,
.aside-image::before {
  position: absolute;
  content: "";
}

.home-a {
  background:
    linear-gradient(165deg, transparent 0 51%, rgba(66, 94, 76, 0.9) 52%),
    linear-gradient(180deg, #badbdc 0 55%, #d9c7a7 56%);
}

.home-a::before {
  right: 12%;
  bottom: 13%;
  width: 72%;
  height: 57%;
  border: 8px solid #f5f0e7;
  background:
    linear-gradient(90deg, transparent 0 19%, #38555b 20% 35%, transparent 36% 64%, #38555b 65% 82%, transparent 83%),
    repeating-linear-gradient(0deg, #d8c7a9 0 7px, #c7b594 8px 9px);
  box-shadow: 0 20px 30px rgba(34, 52, 53, 0.2);
  clip-path: polygon(12% 0, 87% 0, 100% 26%, 100% 100%, 0 100%, 0 25%);
}

.home-b {
  background:
    radial-gradient(circle at 80% 18%, #f3dfa2 0 8%, transparent 9%),
    linear-gradient(180deg, #adcfd0 0 62%, #78906e 63%);
}

.home-b::before {
  right: 6%;
  bottom: 9%;
  width: 84%;
  height: 60%;
  border: 7px solid #f0ede5;
  background:
    linear-gradient(90deg, #44656b 0 20%, transparent 21% 39%, #9a614e 40% 53%, transparent 54% 77%, #44656b 78%),
    linear-gradient(#f0ede5, #d9d5cb);
  box-shadow: 0 20px 30px rgba(34, 52, 53, 0.23);
  clip-path: polygon(0 24%, 22% 24%, 36% 0, 66% 0, 81% 24%, 100% 24%, 100% 100%, 0 100%);
}

.home-c {
  background:
    linear-gradient(152deg, transparent 0 58%, #55735d 59%),
    linear-gradient(180deg, #c7dee1 0 59%, #c6b28e 60%);
}

.home-c::before {
  right: 11%;
  bottom: 12%;
  width: 75%;
  height: 52%;
  border: 7px solid #f5f2e9;
  background:
    linear-gradient(90deg, transparent 0 11%, #3b5e64 12% 28%, transparent 29% 45%, #a96b55 46% 58%, transparent 59% 72%, #3b5e64 73% 91%, transparent 92%),
    repeating-linear-gradient(90deg, #e5e0d6 0 10px, #d4cfc3 11px 12px);
  box-shadow: 0 20px 30px rgba(34, 52, 53, 0.2);
  clip-path: polygon(0 18%, 51% 0, 100% 20%, 100% 100%, 0 100%);
}

.image-badges {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 7px;
}

.image-badge {
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.91);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}

.image-badge.verified {
  color: #0f6a5f;
  background: rgba(232, 248, 243, 0.94);
}

.heart-button {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.readonly-image-badge {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.property-body {
  padding: 19px 20px 20px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.property-price {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 650;
}

.digital-offer-pill,
.verified-pill,
.live-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.property-address {
  margin: 7px 0 13px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.property-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 17px;
  color: #697b85;
  font-size: 12px;
}

.property-meta strong {
  color: var(--ink);
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #edf0f1;
  color: #70818b;
  font-size: 11px;
}

.property-footer button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(24, 215, 210, 0.5);
  border-radius: 999px;
  color: white;
  background: var(--gradient-buy);
  box-shadow: 0 9px 22px rgba(8, 122, 194, 0.22);
  font-weight: 800;
  transition:
    transform 160ms ease,
    filter 160ms ease,
    box-shadow 160ms ease;
}

.property-footer button:hover {
  filter: saturate(1.08) brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(8, 122, 194, 0.28);
}

.process-band {
  padding: 86px 0 96px;
  color: white;
  background: var(--navy);
}

.process-band .content-shell {
  padding-top: 0;
  padding-bottom: 0;
}

.process-band .eyebrow {
  color: #70c5bb;
}

.process-band h2 {
  color: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.14);
}

.process-grid article {
  position: relative;
  min-height: 270px;
  padding: 32px 34px;
  background: var(--navy);
}

.process-grid article > span {
  position: absolute;
  top: 31px;
  right: 33px;
  color: rgba(255, 255, 255, 0.3);
  font-family: Georgia, serif;
  font-size: 24px;
}

.process-grid h3 {
  margin: 28px 0 11px;
  color: white;
  font-size: 24px;
  font-weight: 500;
}

.process-grid p {
  color: #b6c8ce;
  font-size: 13px;
  line-height: 1.65;
}

.process-icon {
  position: relative;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(112, 197, 187, 0.5);
  border-radius: 12px;
  background: rgba(112, 197, 187, 0.08);
}

.process-icon::before,
.process-icon::after {
  position: absolute;
  content: "";
}

.offer-icon::before {
  top: 11px;
  left: 11px;
  width: 21px;
  height: 22px;
  border: 2px solid #70c5bb;
  border-radius: 3px;
}

.offer-icon::after {
  top: 17px;
  left: 17px;
  width: 10px;
  height: 2px;
  background: #70c5bb;
  box-shadow: 0 6px #70c5bb;
}

.review-icon::before {
  top: 9px;
  left: 12px;
  width: 19px;
  height: 24px;
  transform: rotate(7deg);
  border: 2px solid #70c5bb;
  border-radius: 3px;
}

.review-icon::after {
  top: 17px;
  left: 18px;
  width: 10px;
  height: 6px;
  transform: rotate(-45deg);
  border-bottom: 2px solid #70c5bb;
  border-left: 2px solid #70c5bb;
}

.close-icon::before {
  top: 9px;
  left: 9px;
  width: 25px;
  height: 25px;
  border: 2px solid #70c5bb;
  border-radius: 50%;
}

.close-icon::after {
  top: 16px;
  left: 16px;
  width: 10px;
  height: 6px;
  transform: rotate(-45deg);
  border-bottom: 2px solid #70c5bb;
  border-left: 2px solid #70c5bb;
}

.property-detail-shell {
  padding-top: 34px;
}

.back-button {
  margin-bottom: 22px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
}

.detail-image {
  min-height: 540px;
  border-radius: 22px;
}

.detail-copy {
  padding: 10px 0;
}

.detail-copy h1 {
  margin-bottom: 8px;
  font-size: 48px;
  font-weight: 500;
}

.detail-address {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 15px;
}

.detail-meta {
  display: flex;
  gap: 22px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #60727e;
  font-size: 13px;
}

.detail-meta strong {
  color: var(--ink);
}

.detail-copy > p {
  margin: 24px 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.facts-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.facts-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

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

.fact {
  padding: 13px;
  border-radius: 10px;
  background: #f5f7f5;
}

.fact span {
  display: block;
  color: #74848c;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fact strong {
  display: block;
  margin-top: 5px;
  font-size: 13px;
}

.detail-actions {
  display: flex;
  gap: 11px;
  margin-top: 22px;
}

.detail-actions button {
  flex: 1;
}

.workflow-shell {
  padding: 42px 0 72px;
}

.workflow-heading {
  margin-bottom: 25px;
}

.workflow-title-row {
  align-items: center;
}

.workflow-title-row h1,
.dashboard-header h1,
.transaction-top h1 {
  margin-bottom: 5px;
  font-size: 42px;
  font-weight: 500;
}

.workflow-title-row p:last-child,
.dashboard-header p:last-child,
.transaction-top p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.step-meter {
  min-width: 190px;
  color: #70818b;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.step-meter > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 9px;
}

.step-meter i {
  display: block;
  height: 4px;
  border-radius: 5px;
  background: #dbe3e3;
}

.step-meter i.complete,
.step-meter i.current {
  background: var(--teal);
}

.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.form-card,
.offer-aside,
.timeline-card,
.side-card,
.review-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}

.form-card {
  min-height: 600px;
  padding: 36px;
}

.demo-readonly-note {
  margin-bottom: 16px;
  padding: 11px 14px;
  border: 1px solid #d8b97e;
  border-radius: 10px;
  color: #654d22;
  background: #fff8e7;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
}

.field input[readonly],
.field textarea[readonly],
.field select:disabled,
.search-box input[readonly] {
  cursor: default;
}

.field select:disabled {
  color: var(--ink);
  opacity: 1;
  -webkit-text-fill-color: var(--ink);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: view-in 220ms ease both;
}

.step-kicker {
  margin-bottom: 7px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-step h2 {
  margin-bottom: 24px;
  font-size: 32px;
  font-weight: 500;
}

.form-intro {
  margin-top: -12px;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 13px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: block;
}

.field > span:first-child {
  display: block;
  margin-bottom: 8px;
  color: #526875;
  font-size: 12px;
  font-weight: 800;
}

.field small {
  color: #87949a;
  font-weight: 600;
}

.field input,
.field select,
.field textarea,
.money-input {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  color: var(--ink);
  background: white;
  outline: 0;
  transition: 160ms ease;
}

.field input,
.field select {
  min-height: 49px;
  padding: 0 13px;
}

.field textarea {
  padding: 13px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.money-input:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(28, 139, 130, 0.11);
}

.money-input {
  display: flex;
  align-items: center;
}

.money-input i {
  padding-left: 14px;
  color: #6e8089;
  font-style: normal;
}

.money-input input {
  border: 0;
  box-shadow: none !important;
}

.full-field {
  grid-column: 1 / -1;
}

.upload-box,
.notice-card,
.human-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 23px;
  padding: 15px;
  border: 1px dashed #a8c9c5;
  border-radius: 12px;
  background: #f6fbfa;
}

.upload-box {
  width: 100%;
  color: inherit;
  text-align: left;
}

.upload-icon {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-weight: 900;
}

.upload-box div {
  flex: 1;
}

.upload-box strong,
.upload-box small {
  display: block;
}

.upload-box strong {
  font-size: 12px;
}

.upload-box small {
  margin-top: 3px;
  color: #71838c;
  font-size: 10px;
}

.choice-list {
  display: grid;
  gap: 11px;
}

.choice-card {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: 150ms ease;
}

.choice-card:hover,
.choice-card.selected {
  border-color: #83bbb5;
  background: #f6fbfa;
}

.choice-card input {
  display: none;
}

.choice-check {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #aebbc0;
  border-radius: 6px;
  background: white;
}

.choice-card.selected .choice-check {
  border-color: var(--teal);
  background: var(--teal);
}

.choice-card.selected .choice-check::after {
  width: 8px;
  height: 4px;
  transform: rotate(-45deg);
  border-bottom: 2px solid white;
  border-left: 2px solid white;
  content: "";
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card strong {
  font-size: 13px;
}

.choice-card small {
  margin-top: 4px;
  color: #71828b;
  font-size: 11px;
}

.choice-card em {
  color: var(--teal-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.notice-card {
  align-items: flex-start;
  border-style: solid;
}

.notice-card > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  font-family: Georgia, serif;
  font-weight: 800;
}

.notice-card p {
  margin: 1px 0 0;
  color: #526975;
  font-size: 12px;
  line-height: 1.55;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #edf0f1;
}

.form-actions button {
  min-width: 112px;
}

.offer-aside {
  position: sticky;
  top: 100px;
  overflow: hidden;
}

.aside-image {
  height: 160px;
}

.aside-property-copy {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.aside-property-copy strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 20px;
}

.aside-property-copy span {
  display: block;
  margin-top: 5px;
  color: #6e7f88;
  font-size: 11px;
}

.aside-section {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.aside-label {
  display: block;
  color: #75868e;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.strength-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 9px 0;
  font-size: 12px;
}

.strength-row span {
  color: var(--teal-dark);
  font-weight: 850;
}

.strength-meter {
  height: 7px;
  overflow: hidden;
  border-radius: 8px;
  background: #e8ecec;
}

.strength-meter i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d1a656, var(--teal));
  transition: width 160ms ease;
}

.strength-factors,
.fee-breakdown,
.comp-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

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

.strength-factors span {
  padding: 7px 8px;
  border: 1px solid rgba(28, 139, 130, 0.16);
  border-radius: 999px;
  color: #0d625c;
  background: var(--teal-pale);
  font-size: 9px;
  font-weight: 850;
  text-align: center;
}

.market-estimator {
  background:
    radial-gradient(circle at 95% 8%, rgba(24, 215, 210, 0.16), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.market-estimator > strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 25px;
}

.market-recommendations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.market-recommendations div,
.fee-breakdown div,
.comp-list div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.market-recommendations span,
.fee-breakdown span,
.comp-list span,
.comp-list small {
  display: block;
  color: #788991;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.market-recommendations strong,
.fee-breakdown strong,
.comp-list strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
}

.comp-list small {
  margin-top: 3px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.seller-market-card h3 {
  margin: 5px 0 8px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.seller-market-card > small {
  display: block;
  margin-top: 12px;
  color: #788991;
  font-size: 10px;
  line-height: 1.5;
}

.aside-section small {
  display: block;
  margin-top: 9px;
  color: #788991;
  font-size: 10px;
  line-height: 1.45;
}

.estimate-section > strong {
  display: block;
  margin-top: 8px;
  font-family: Georgia, serif;
  font-size: 25px;
}

.human-note {
  margin: 0;
  padding: 17px 18px;
  border: 0;
  border-radius: 0;
  background: #f8f5ee;
}

.human-note > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  font-size: 10px;
  font-weight: 850;
}

.human-note p {
  margin: 0;
  color: #5b6f7a;
  font-size: 10px;
  line-height: 1.5;
}

.human-note strong {
  color: var(--ink);
}

.review-summary {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border-bottom: 1px solid #edf0f1;
  font-size: 12px;
}

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

.summary-row span {
  color: #6a7c86;
}

.summary-row strong {
  text-align: right;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  color: #526975;
  font-size: 11px;
  line-height: 1.5;
}

.consent-row input {
  width: 17px;
  height: 17px;
  accent-color: var(--teal);
}

.success-shell {
  width: min(690px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
  text-align: center;
}

.success-check {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  box-shadow: 0 0 0 12px var(--teal-pale);
  font-size: 30px;
}

.success-shell h1 {
  margin-bottom: 15px;
  font-size: 48px;
  font-weight: 500;
}

.success-shell > p:not(.eyebrow) {
  max-width: 600px;
  margin: 0 auto;
  color: var(--ink-soft);
  line-height: 1.7;
}

.success-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 42px 0 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.success-steps > div {
  position: relative;
  padding: 24px 15px;
}

.success-steps > div:not(:last-child)::after {
  position: absolute;
  top: 35px;
  right: -20%;
  width: 40%;
  height: 1px;
  background: var(--line);
  content: "";
}

.success-steps span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  margin: 0 auto 10px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: #778890;
  background: white;
  font-size: 10px;
  font-weight: 800;
}

.success-steps .complete span {
  border-color: var(--teal);
  color: white;
  background: var(--teal);
}

.success-steps .active span {
  border-color: var(--teal);
  color: var(--teal-dark);
  box-shadow: 0 0 0 5px var(--teal-pale);
}

.success-steps strong,
.success-steps small {
  display: block;
}

.success-steps strong {
  font-size: 11px;
}

.success-steps small {
  margin-top: 4px;
  color: #7d8d94;
  font-size: 9px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 11px;
}

.dashboard-shell {
  padding: 58px 0 90px;
}

.dashboard-header,
.transaction-top {
  align-items: center;
  margin-bottom: 30px;
}

.sla-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid #acd0cb;
  border-radius: 11px;
  color: #516b75;
  background: #f5fbfa;
  font-size: 11px;
}

.sla-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(28, 139, 130, 0.12);
}

.sla-chip strong {
  color: var(--teal-dark);
}

.review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.review-panel {
  overflow: hidden;
}

.review-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.review-panel-header h2 {
  margin-bottom: 4px;
  font-size: 27px;
  font-weight: 500;
}

.review-panel-header p {
  margin-bottom: 0;
  color: #71828b;
  font-size: 11px;
}

.offer-number {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 700;
}

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

.compare-item {
  padding: 19px 24px;
  border-right: 1px solid var(--line);
}

.compare-item:nth-child(even) {
  border-right: 0;
}

.compare-item:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.compare-item span,
.document-preview span {
  display: block;
  margin-bottom: 6px;
  color: #7b8a92;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.compare-item strong {
  font-size: 14px;
}

.contingency-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.contingency-tags span {
  padding: 7px 9px;
  border-radius: 7px;
  color: #526975;
  background: #eef2f2;
  font-size: 10px;
  font-weight: 750;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 24px;
}

.review-actions button {
  flex: 1 1 150px;
}

.negotiation-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.negotiation-header > div {
  max-width: 800px;
}

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

.negotiation-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.negotiation-summary > div {
  padding: 17px;
  background: #fbfdfc;
}

.negotiation-summary > div.wide {
  grid-column: 1 / -1;
}

.negotiation-summary span,
.negotiation-summary strong {
  display: block;
}

.negotiation-summary span {
  margin-bottom: 7px;
  color: #74868f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.negotiation-summary strong {
  font-size: 14px;
}

.term-change {
  display: inline-flex !important;
  width: fit-content;
  margin: 0 0 0 6px !important;
  padding: 3px 5px;
  border-radius: 5px;
  color: #765419 !important;
  background: #fff1c8;
  font-size: 7px !important;
}

.counter-editor {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #acd0cb;
  border-radius: 13px;
  background: #f5fbfa;
}

.counter-editor[hidden] {
  display: none;
}

.negotiation-actions {
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
}

.negotiation-history {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.negotiation-history article {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfdfc;
}

.negotiation-history article > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  font-size: 8px;
  font-weight: 900;
}

.negotiation-history strong,
.negotiation-history small {
  display: block;
}

.negotiation-history strong {
  font-size: 10px;
}

.negotiation-history small {
  margin-top: 4px;
  color: #72848d;
  font-size: 8px;
}

.document-preview {
  min-height: 460px;
  padding: 28px 30px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    white;
  background-size: 18px 18px;
}

.document-preview h3 {
  margin-bottom: 6px;
  font-size: 21px;
}

.document-preview > p {
  margin-bottom: 19px;
  color: #72838b;
  font-size: 10px;
}

.document-line {
  height: 7px;
  margin: 9px 0;
  border-radius: 4px;
  background: #dfe5e5;
}

.document-line.short {
  width: 61%;
}

.document-line.medium {
  width: 82%;
}

.document-highlight {
  margin: 24px 0;
  padding: 15px;
  border-left: 3px solid var(--teal);
  background: var(--teal-pale);
}

.document-highlight strong {
  display: block;
  font-size: 12px;
}

.document-highlight small {
  display: block;
  margin-top: 5px;
  color: #5d747d;
  font-size: 9px;
  line-height: 1.5;
}

.contract-preview-button {
  width: 100%;
  margin-top: 22px;
}

.attorney-flag {
  display: flex;
  gap: 10px;
  margin: 18px 24px 0;
  padding: 13px;
  border-radius: 10px;
  color: #745929;
  background: #fbf4df;
  font-size: 10px;
  line-height: 1.5;
}

.attorney-flag strong {
  display: block;
  color: #5f471c;
}

.status-approved {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.status-approved::before {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  content: "✓";
  font-size: 10px;
}

.transaction-status {
  display: flex;
  align-items: center;
  gap: 18px;
}

.transaction-status > span {
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.timeline-card {
  padding: 30px;
}

.card-heading {
  align-items: center;
}

.card-heading h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
}

.progress-number {
  color: var(--teal-dark);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 700;
}

.big-progress {
  height: 8px;
  margin: 22px 0 28px;
  overflow: hidden;
  border-radius: 9px;
  background: #e5ebeb;
}

.big-progress i {
  display: block;
  width: 18%;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transition: width 400ms ease;
}

.timeline-list {
  position: relative;
}

.timeline-list::before {
  position: absolute;
  top: 19px;
  bottom: 22px;
  left: 17px;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: start;
  min-height: 75px;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: #8b999f;
  background: white;
  font-size: 10px;
  font-weight: 850;
}

.timeline-item.complete .timeline-marker {
  border-color: var(--teal);
  color: white;
  background: var(--teal);
}

.timeline-item.current .timeline-marker {
  border: 2px solid var(--teal);
  color: var(--teal-dark);
  box-shadow: 0 0 0 5px var(--teal-pale);
}

.timeline-copy {
  padding-top: 3px;
}

.timeline-copy strong,
.timeline-copy small {
  display: block;
}

.timeline-copy strong {
  font-size: 13px;
}

.timeline-copy small {
  margin-top: 5px;
  color: #788991;
  font-size: 10px;
}

.timeline-role {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #246d67;
  background: var(--teal-pale);
  font-size: 8px;
  font-weight: 800;
}

.timeline-date {
  padding-top: 4px;
  color: #72828a;
  font-size: 10px;
  font-weight: 700;
}

.workspace-side {
  display: grid;
  gap: 18px;
}

.side-card {
  padding: 22px;
}

.next-action-card {
  color: white;
  border: 0;
  background: var(--navy);
}

.next-action-card .eyebrow {
  color: #70c5bb;
}

.next-action-card h3 {
  margin-bottom: 9px;
  color: white;
  font-size: 23px;
  font-weight: 500;
}

.completed-document-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 18px;
}

.completed-document-actions button {
  width: 100%;
}

.next-action-card .completed-document-actions .secondary-button {
  border-color: #6f8994;
  color: white;
  background: transparent;
}

.next-action-card p {
  margin-bottom: 18px;
  color: #b8c9ce;
  font-size: 11px;
  line-height: 1.6;
}

.next-action-card button {
  width: 100%;
  border-color: white;
  color: var(--navy);
  background: white;
  box-shadow: none;
}

.card-heading.compact {
  align-items: center;
}

.card-heading.compact h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 500;
}

.activity-list {
  display: grid;
  gap: 17px;
  margin-top: 20px;
}

.activity {
  display: grid;
  grid-template-columns: 9px 1fr;
  gap: 10px;
}

.activity i {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--teal);
}

.activity strong,
.activity small {
  display: block;
}

.activity strong {
  font-size: 10px;
  line-height: 1.45;
}

.activity small {
  margin-top: 3px;
  color: #809097;
  font-size: 9px;
}

.support-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
}

.support-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  font-size: 10px;
  font-weight: 800;
}

.support-card strong,
.support-card p {
  display: block;
}

.support-card strong {
  font-size: 11px;
}

.support-card p {
  margin: 4px 0 0;
  color: #7b8b92;
  font-size: 9px;
}

.support-card button {
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.contract-shell {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 100px;
}

.contract-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.contract-toolbar-actions {
  display: flex;
  gap: 10px;
}

.contract-warning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 17px;
  border: 1px solid #d5ad64;
  border-radius: 12px;
  color: #644a1d;
  background: #fff8e8;
  font-size: 11px;
  line-height: 1.5;
}

.contract-document {
  position: relative;
  min-height: 1100px;
  overflow: hidden;
  padding: 68px 72px;
  border: 1px solid #d7dddf;
  border-radius: 5px;
  background: white;
  box-shadow: 0 24px 60px rgba(12, 38, 55, 0.12);
  font-family: Georgia, "Times New Roman", serif;
}

.contract-watermark {
  position: absolute;
  top: 460px;
  left: 50%;
  width: 900px;
  color: rgba(183, 78, 78, 0.07);
  font-family: Inter, sans-serif;
  font-size: 58px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  transform: translateX(-50%) rotate(-31deg);
  pointer-events: none;
}

.contract-header {
  padding-bottom: 28px;
  border-bottom: 3px double #9ba8ad;
  text-align: center;
}

.contract-header p {
  color: #65747b;
  font-family: Inter, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contract-header h1 {
  margin: 12px 0;
  font-size: 31px;
  line-height: 1.2;
}

.contract-header > strong {
  color: #546872;
  font-family: Inter, sans-serif;
  font-size: 10px;
}

.contract-disclaimer {
  margin: 24px 0;
  padding: 15px;
  border: 2px solid var(--red);
  color: #7d3030;
  background: #fff4f4;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.55;
}

.contract-recital {
  margin: 0;
  padding: 4px 2px 20px;
  color: #354b57;
  font-size: 12px;
  line-height: 1.9;
  text-align: justify;
}

.contract-nonterm {
  background: #fffaf0;
}

.deed-warning {
  border-color: #a9c8c4;
  color: #285e5a;
  background: #f1fbf9;
}

.deed-recording-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0;
  border: 1px solid #b9c3c6;
  background: #b9c3c6;
}

.deed-recording-box p {
  margin: 0;
  padding: 14px;
  background: #fafcfc;
}

.deed-recording-box small,
.deed-recording-box strong {
  display: block;
}

.deed-recording-box small {
  margin-bottom: 6px;
  color: #72838b;
  font-family: Inter, sans-serif;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.deed-recording-box strong {
  font-size: 11px;
}

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

.deed-access-note {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #cbd8da;
  color: #516872;
  background: #f6f9f9;
  font-family: Inter, sans-serif;
  font-size: 10px;
  line-height: 1.6;
}

.contract-section {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid #dfe4e5;
}

.contract-section > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  font-family: Inter, sans-serif;
  font-size: 10px;
  font-weight: 900;
}

.contract-section h2 {
  margin: 2px 0 10px;
  font-size: 18px;
}

.contract-section p {
  margin: 0;
  color: #354b57;
  font-size: 12px;
  line-height: 1.8;
}

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

.contract-term-grid p {
  padding: 13px;
  border: 1px solid #dfe4e5;
  border-radius: 7px;
  background: #fafcfc;
}

.contract-term-grid small,
.contract-term-grid strong {
  display: block;
}

.contract-term-grid small {
  margin-bottom: 6px;
  color: #75868e;
  font-family: Inter, sans-serif;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contract-term-grid strong {
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-size: 12px;
}

.contract-signature-lock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.contract-signature-lock div {
  padding: 18px;
  border: 2px dashed #b9c3c6;
  color: #71828a;
  background: #f7f9f9;
}

.contract-signature-lock span,
.contract-signature-lock strong {
  display: block;
  font-family: Inter, sans-serif;
}

.contract-signature-lock span {
  margin-bottom: 20px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contract-signature-lock strong {
  color: var(--red);
  font-size: 11px;
}

.milestone-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  margin: 28px 0 30px;
}

.milestone-hero > div:first-child {
  max-width: 790px;
}

.milestone-hero h1 {
  margin-bottom: 12px;
}

.milestone-hero p:last-child {
  color: #5d737e;
  font-size: 13px;
  line-height: 1.7;
}

.milestone-owner {
  min-width: 220px;
  padding: 16px;
  border: 1px solid #acd0cb;
  border-radius: 12px;
  background: #f5fbfa;
}

.milestone-owner span,
.milestone-owner strong {
  display: block;
}

.milestone-owner span {
  margin-bottom: 7px;
  color: #71828a;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.milestone-owner strong {
  color: var(--teal-dark);
  font-size: 12px;
}

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

.milestone-step-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.milestone-progress-panel {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 0%, rgba(24, 215, 210, 0.15), transparent 32%),
    #fbfdfc;
}

.milestone-progress-panel > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.milestone-progress-panel span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 36px;
  border-radius: 999px;
  color: white;
  background: var(--gradient-buy);
  font-size: 11px;
  font-weight: 900;
}

.milestone-progress-panel strong {
  display: block;
  margin-left: auto;
  color: var(--navy);
  font-size: 13px;
}

.milestone-progress-panel p {
  margin: 0;
  color: #687c86;
  font-size: 10px;
  line-height: 1.55;
}

.milestone-progress-bar {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #dfe9e9;
}

.milestone-progress-bar span {
  display: block;
  min-width: 0;
  min-height: 8px;
  width: 0;
  border-radius: 999px;
  background: var(--gradient-submit);
  transition: width 180ms ease;
}

.milestone-progress-bar .progress-1 {
  width: 25%;
}

.milestone-progress-bar .progress-2 {
  width: 50%;
}

.milestone-progress-bar .progress-3 {
  width: 75%;
}

.milestone-progress-bar .progress-4 {
  width: 100%;
}

.milestone-step-list article {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfc;
}

.milestone-step-list article.task-done {
  border-color: rgba(38, 130, 104, 0.28);
  background:
    linear-gradient(90deg, rgba(220, 247, 233, 0.75), rgba(255, 255, 255, 0.92)),
    #fbfdfc;
}

.milestone-step-list article.task-locked {
  opacity: 0.72;
}

.milestone-step-list article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  font-size: 9px;
  font-weight: 900;
}

.milestone-step-list strong,
.milestone-step-list p {
  display: block;
}

.milestone-step-list strong {
  font-size: 13px;
}

.milestone-step-list p {
  margin: 6px 0 0;
  color: #687c86;
  font-size: 10px;
  line-height: 1.55;
}

.task-role {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  padding: 6px 8px;
  border-radius: 7px;
  color: #286c66;
  background: var(--teal-pale);
  font-size: 9px;
  line-height: 1.3;
}

.task-output {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 8px;
  color: #596c75;
  font-size: 9px;
  line-height: 1.45;
}

.task-output b {
  flex: 0 0 auto;
  color: #667a83;
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.task-role b {
  color: #667a83;
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.milestone-step-list i {
  padding: 5px 7px;
  border-radius: 999px;
  color: #73561f;
  background: #fff4d7;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.task-action-stack {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.provider-step-button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  color: white;
  background: var(--gradient-buy);
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.provider-step-button:disabled {
  cursor: not-allowed;
  color: #7c8b91;
  background: #e9eeee;
}

.milestone-completion {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 20px;
  border-radius: 13px;
  color: white;
  background: var(--navy);
}

.milestone-completion p {
  margin: 0;
  color: #bdcdd2;
  font-size: 10px;
  line-height: 1.6;
}

.milestone-completion .primary-button {
  white-space: nowrap;
  border-color: white;
  color: var(--navy);
  background: white;
}

.milestone-completion .primary-button:disabled {
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.45);
  color: #8a999f;
  background: rgba(255, 255, 255, 0.62);
}

.provider-portal-card {
  border-color: rgba(28, 139, 130, 0.24);
  background:
    radial-gradient(circle at 92% 12%, rgba(24, 215, 210, 0.17), transparent 35%),
    white;
}

.portal-status-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.portal-status-list p {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: start;
  margin: 0;
}

.portal-status-list i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--gradient-buy);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.portal-status-list span,
.portal-status-list strong {
  display: block;
}

.portal-status-list span {
  color: #687c86;
  font-size: 9px;
  line-height: 1.45;
}

.portal-status-list strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 11px;
}

.safety-card {
  border-color: #e4c991;
  background: #fff9eb;
}

.safety-card strong {
  color: #674c19;
  font-size: 12px;
}

.safety-card p:last-child,
#milestoneHandoffBody {
  margin: 9px 0 0;
  color: #687b84;
  font-size: 10px;
  line-height: 1.6;
}

.validation-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  color: var(--ink);
  background: white;
  box-shadow: 0 30px 90px rgba(4, 24, 38, 0.4);
}

.validation-dialog::backdrop {
  background: rgba(5, 24, 38, 0.68);
  backdrop-filter: blur(5px);
}

.validation-dialog-inner {
  padding: 34px;
  text-align: center;
}

.validation-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--gold);
  font-size: 24px;
  font-weight: 900;
}

.validation-dialog h2 {
  margin-bottom: 16px;
  font-size: 29px;
  font-weight: 520;
}

.validation-message-list {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  text-align: left;
}

.validation-message-list p {
  margin: 0;
  padding: 11px 13px 11px 34px;
  border: 1px solid #ead5ad;
  border-radius: 9px;
  color: #604a24;
  background: #fff9eb;
  font-size: 11px;
  line-height: 1.5;
}

.validation-message-list p::before {
  margin-left: -19px;
  margin-right: 9px;
  color: var(--gold);
  content: "•";
  font-weight: 900;
}

.validation-dialog .primary-button {
  width: 100%;
}

.role-dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.role-dashboard-header > div {
  max-width: 760px;
}

.role-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

.role-main-card,
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}

.role-main-card {
  padding: 26px;
}

.role-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.role-capability-card {
  display: grid;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fbfdfc;
  text-align: left;
  transition: 180ms ease;
}

.role-capability-card:hover {
  border-color: #9bc8c2;
  box-shadow: 0 10px 28px rgba(12, 38, 55, 0.08);
  transform: translateY(-2px);
}

.role-capability-card > span {
  color: var(--teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.role-capability-card strong {
  align-self: end;
  margin-top: 24px;
  font-size: 18px;
}

.role-capability-card small {
  margin-top: 8px;
  color: #667b86;
  font-size: 11px;
  line-height: 1.55;
}

.role-capability-card em {
  align-self: end;
  margin-top: 18px;
  color: var(--teal-dark);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.visibility-list,
.handoff-list {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.visibility-list p,
.handoff-list p {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 7px;
  margin: 0;
  color: #607580;
  font-size: 10px;
  line-height: 1.5;
}

.visibility-list i,
.handoff-list i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.feature-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}

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

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

.feature-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.feature-category,
.feature-status,
.feature-role-list span {
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-category {
  padding: 6px 8px;
  color: var(--teal-dark);
  background: var(--teal-pale);
}

.feature-status {
  padding: 6px 8px;
  color: #765419;
  background: #fff4d7;
}

.feature-card h2 {
  margin: 24px 0 10px;
  font-size: 22px;
  font-weight: 520;
}

.feature-card > p {
  flex: 1;
  color: #607580;
  font-size: 11px;
  line-height: 1.65;
}

.feature-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 16px 0;
}

.feature-role-list span {
  padding: 5px 7px;
  color: #63757e;
  background: #f1f4f4;
}

.feature-card .text-button {
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.info-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  color: var(--ink);
  background: white;
  box-shadow: 0 30px 90px rgba(4, 24, 38, 0.35);
}

.info-dialog::backdrop {
  background: rgba(5, 24, 38, 0.72);
  backdrop-filter: blur(5px);
}

.info-dialog-inner {
  position: relative;
  padding: 34px;
}

.info-dialog h2 {
  margin: 0 46px 14px 0;
  font-size: 34px;
  font-weight: 500;
}

.info-dialog-body,
#infoDialogBody {
  color: #536a76;
  font-size: 13px;
  line-height: 1.7;
}

.dialog-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #607580;
  background: white;
  font-size: 22px;
  line-height: 1;
}

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

.info-dialog-grid section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9fbfb;
}

.info-dialog-grid span {
  color: var(--teal-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-dialog-grid p {
  margin: 8px 0 0;
  color: #536a76;
  font-size: 10px;
  line-height: 1.6;
}

.info-dialog-actions {
  display: flex;
  justify-content: flex-end;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  padding: 14px 17px;
  border-radius: 11px;
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 180ms ease;
}

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

.site-footer {
  display: grid;
  gap: 7px;
  padding: 36px max(4.5vw, calc((100vw - 1180px) / 2)) 40px;
  color: #aebfc5;
  background: #081d2d;
  font-size: 10px;
  line-height: 1.55;
}

.site-footer strong {
  color: white;
  font-size: 12px;
}

.legal-dock {
  position: fixed;
  z-index: 80;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 10px 4.5vw;
  border-top: 1px solid #d8b97e;
  color: #4e3d20;
  background: rgba(255, 249, 232, 0.97);
  box-shadow: 0 -8px 30px rgba(12, 38, 55, 0.12);
  backdrop-filter: blur(12px);
  font-size: 10px;
  line-height: 1.4;
}

.legal-dock strong {
  color: #5c4214;
}

.legal-dock button {
  padding: 8px 10px;
  border: 1px solid #b58b41;
  border-radius: 8px;
  color: #5c4214;
  background: white;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.disclosure-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  color: var(--ink);
  background: white;
  box-shadow: 0 30px 90px rgba(4, 24, 38, 0.35);
}

.disclosure-dialog::backdrop {
  background: rgba(5, 24, 38, 0.72);
  backdrop-filter: blur(5px);
}

.disclosure-dialog-inner {
  padding: 34px;
}

.disclosure-dialog h2 {
  margin-bottom: 18px;
  font-size: 34px;
  font-weight: 500;
}

.disclosure-dialog p:not(.eyebrow) {
  color: #4f6571;
  font-size: 13px;
  line-height: 1.7;
}

.disclosure-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.disclosure-facts span {
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.disclosure-dialog .primary-button {
  width: 100%;
}

.noscript-disclosure {
  position: fixed;
  z-index: 200;
  inset: 20px;
  padding: 24px;
  border: 3px solid #b58b41;
  border-radius: 14px;
  color: #3f3018;
  background: #fff8e7;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    grid-template-columns: 1fr auto;
    min-height: 126px;
    padding-bottom: 60px;
  }

  nav {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    justify-content: center;
    height: 60px;
    gap: 34px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
  }

  .nav-link::after {
    top: 0;
    bottom: auto;
  }

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

  .hero-visual {
    min-height: 430px;
  }

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

  .offer-layout,
  .review-grid,
  .negotiation-grid,
  .workspace-grid,
  .role-overview-grid,
  .milestone-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .offer-aside {
    position: static;
  }

  .detail-image {
    min-height: 430px;
  }

}

@media (max-width: 680px) {
  .prototype-banner {
    min-height: 42px;
    padding: 6px 12px;
    text-align: center;
  }

  .site-header {
    top: 42px;
  }

  .site-header {
    min-height: 116px;
    padding: 0 18px 52px;
  }

  nav {
    height: 52px;
    gap: 12px;
  }

  .nav-link {
    font-size: 10px;
  }

  .role-switcher > span {
    display: none;
  }

  .role-switcher select {
    min-width: 88px;
  }

  .demo-mode-badge {
    display: none;
  }

  .hero-copy {
    padding: 58px 24px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .search-box {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .search-box button {
    grid-column: 1 / -1;
  }

  .hero-visual {
    min-height: 350px;
  }

  .house-scene {
    inset: 35px 0 0 18px;
  }

  .offer-float {
    top: 52px;
  }

  .timeline-float {
    bottom: 28px;
  }

  .content-shell,
  .dashboard-shell,
  .workflow-shell {
    width: min(100% - 30px, 1180px);
  }

  .content-shell {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .section-heading,
  .dashboard-header,
  .transaction-top,
  .workflow-title-row {
    display: block;
  }

  .section-heading .text-button,
  .sla-chip,
  .transaction-status {
    margin-top: 18px;
  }

  .filter-row {
    overflow-x: auto;
    padding-bottom: 7px;
  }

  .filter {
    flex: 0 0 auto;
  }

  .results-count {
    display: none;
  }

  .property-grid,
  .process-grid,
  .success-steps,
  .field-grid,
  .role-capability-grid,
  .feature-grid,
  .info-dialog-grid,
  .contract-term-grid,
  .contract-signature-lock,
  .negotiation-summary,
  .deed-recording-box,
  .deed-signature-lock {
    grid-template-columns: 1fr;
  }

  .negotiation-summary > div.wide {
    grid-column: auto;
  }

  .process-grid {
    gap: 1px;
  }

  .step-meter {
    margin-top: 18px;
    text-align: left;
  }

  .form-card {
    min-height: 0;
    padding: 25px 20px;
  }

  .full-field {
    grid-column: auto;
  }

  .success-steps > div:not(:last-child)::after {
    display: none;
  }

  .success-actions,
  .detail-actions,
  .contract-toolbar,
  .contract-toolbar-actions {
    flex-direction: column;
  }

  .contract-toolbar {
    align-items: stretch;
  }

  .contract-toolbar-actions button {
    width: 100%;
  }

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

  .compare-item,
  .compare-item:nth-child(even) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .review-actions {
    flex-direction: column;
  }

  .legal-dock {
    grid-template-columns: 1fr auto;
    min-height: 74px;
    padding: 9px 14px;
  }

  .legal-dock strong {
    display: block;
  }

  .legal-dock span {
    grid-column: 1;
  }

  .legal-dock button {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .disclosure-dialog-inner {
    padding: 25px 21px;
  }

  .disclosure-dialog h2 {
    font-size: 29px;
  }

  .role-dashboard-header {
    display: block;
  }

  .negotiation-header {
    display: block;
  }

  .negotiation-header .demo-mode-badge {
    display: inline-flex;
    margin-top: 16px;
  }

  .role-dashboard-header .secondary-button {
    margin-top: 18px;
  }

  .info-dialog-inner {
    padding: 25px 21px;
  }

  .info-dialog h2 {
    font-size: 29px;
  }

  .contract-shell {
    width: min(100% - 24px, 1040px);
  }

  .contract-warning,
  .milestone-hero,
  .milestone-completion {
    grid-template-columns: 1fr;
  }

  .contract-document {
    min-height: 0;
    padding: 38px 24px;
  }

  .contract-header h1 {
    font-size: 25px;
  }

  .contract-section {
    grid-template-columns: 29px 1fr;
    gap: 11px;
  }

  .milestone-owner {
    min-width: 0;
  }

  .milestone-step-list article {
    grid-template-columns: 34px 1fr;
  }

  .milestone-step-list i {
    grid-column: 2;
    justify-self: start;
  }

  .milestone-completion .primary-button {
    width: 100%;
    white-space: normal;
  }

  .validation-dialog-inner {
    padding: 27px 21px;
  }
}

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

  .header-actions,
  .role-switcher,
  .role-switcher select {
    min-width: 0;
    width: 150px;
    max-width: 150px;
  }

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

  nav {
    gap: 8px;
  }

  .nav-link {
    font-size: 9px;
  }
}

/* Version 4: entry paths, representation gates, and sandbox workflows */

.saved-header-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: white;
  font-size: 11px;
  font-weight: 800;
}

.saved-header-button strong {
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  font-size: 10px;
}

.choice-home {
  width: min(100% - 40px, 1160px);
  margin: 24px auto 42px;
  padding: 82px 44px 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 8%, rgba(24, 215, 210, 0.18), transparent 27%),
    radial-gradient(circle at 88% 88%, rgba(255, 179, 46, 0.18), transparent 29%),
    #050913;
  box-shadow: 0 30px 80px rgba(5, 9, 19, 0.22);
}

.choice-home-copy {
  max-width: 720px;
  margin: 0 auto 45px;
  text-align: center;
}

.choice-home h1,
.saved-shell h1 {
  margin: 8px 0 16px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.choice-home h1 {
  color: white;
}

.choice-home .eyebrow {
  color: #9bf1ec;
}

.choice-home-copy > p:last-child {
  margin: 0 auto;
  color: #c4d4df;
  font-size: 17px;
  line-height: 1.75;
}

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

.journey-card {
  position: relative;
  display: grid;
  min-height: 360px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

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

.buyer-journey {
  color: white;
  background:
    radial-gradient(circle at 80% 13%, rgba(94, 255, 239, 0.46), transparent 34%),
    radial-gradient(circle at 16% 88%, rgba(0, 93, 199, 0.42), transparent 32%),
    var(--gradient-buy);
}

.seller-journey {
  color: #241606;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 246, 166, 0.68), transparent 34%),
    radial-gradient(circle at 17% 86%, rgba(255, 105, 16, 0.28), transparent 32%),
    var(--gradient-sell);
}

.journey-number {
  position: absolute;
  top: 26px;
  right: 30px;
  opacity: 0.45;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
}

.journey-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 48px;
  border: 1px solid currentColor;
  border-radius: 18px;
  font-size: 20px;
  font-weight: 900;
}

.journey-card strong {
  align-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 35px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.journey-card small {
  margin-top: 14px;
  opacity: 0.82;
  font-size: 14px;
  line-height: 1.65;
}

.journey-card em {
  margin-top: 25px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-support-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 30px;
}

.home-support-row .text-button {
  color: #d7fbff;
}

.section-heading-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.property-save-button {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 18px rgba(12, 38, 55, 0.15);
  font-size: 19px;
}

.property-save-button.saved {
  color: white;
  border-color: var(--teal);
  background: var(--teal);
}

.detail-actions-stack {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.detail-actions-stack .detail-actions {
  margin-top: 0;
}

.detail-save-button {
  width: 100%;
}

.saved-shell {
  min-height: 70vh;
}

.empty-saved-state {
  max-width: 600px;
  margin: 60px auto;
  padding: 55px 30px;
  border: 1px dashed var(--line-dark);
  border-radius: 24px;
  text-align: center;
  background: white;
}

.empty-saved-state[hidden] {
  display: none;
}

.empty-saved-state > span {
  color: var(--teal);
  font-size: 50px;
}

.empty-saved-state h2 {
  margin: 12px 0 8px;
}

.empty-saved-state p {
  margin: 0 0 25px;
  color: var(--ink-soft);
}

.seller-intake-shell {
  padding-bottom: 90px;
}

.seller-intake-grid,
.tour-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  align-items: start;
  gap: 28px;
}

.seller-intake-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.listing-gate-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.listing-gate-list p {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.listing-gate-list i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.seller-review-shell {
  max-width: 860px;
}

.seller-review-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  margin: 30px 0;
}

.seller-review-status article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  text-align: left;
  background: white;
}

.seller-review-status span {
  display: block;
  margin-bottom: 7px;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seller-review-status strong {
  font-size: 13px;
}

.agreement-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.agreement-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.agreement-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border-radius: 15px;
  color: white;
  background: var(--navy);
  font-weight: 900;
}

.agreement-card h2 {
  margin: 4px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.agreement-card > p:not(.eyebrow) {
  flex: 1;
  color: var(--ink-soft);
  line-height: 1.65;
}

.agreement-card .primary-button {
  align-self: flex-start;
}

.agreement-library-warning {
  margin-top: 28px;
}

.contact-shell {
  padding-bottom: 90px;
}

.buyer-intake-dialog,
.agreement-dialog {
  width: min(100% - 28px, 760px);
  max-height: calc(100vh - 34px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: white;
  box-shadow: 0 28px 90px rgba(4, 20, 31, 0.3);
}

.agreement-dialog {
  width: min(100% - 28px, 1050px);
}

.buyer-intake-dialog::backdrop,
.agreement-dialog::backdrop {
  background: rgba(7, 25, 37, 0.76);
  backdrop-filter: blur(4px);
}

.buyer-intake-dialog-inner {
  position: relative;
  padding: 38px;
}

.buyer-intake-dialog h2 {
  max-width: 620px;
  margin: 7px 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.buyer-intake-dialog-inner > p:not(.eyebrow) {
  margin-bottom: 26px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.buyer-intake-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.agreement-dialog-inner {
  padding: 28px;
}

.agreement-dialog-toolbar {
  position: sticky;
  z-index: 3;
  top: -28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: -28px -28px 0;
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.agreement-dialog-toolbar h2 {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
}

.agreement-demo-warning {
  display: grid;
  gap: 8px;
  margin: 25px 0 18px;
  padding: 18px 20px;
  border: 2px solid #cc574f;
  border-radius: 13px;
  color: #762a26;
  background: #fff3f1;
}

.agreement-demo-warning strong {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.agreement-demo-warning span {
  font-size: 13px;
  line-height: 1.55;
}

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

.agreement-intake-summary:empty {
  display: none;
}

.agreement-intake-summary div {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
}

.agreement-intake-summary span {
  display: block;
  margin-bottom: 3px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agreement-intake-summary strong {
  font-size: 12px;
}

.source-agreement-document {
  position: relative;
  padding: 54px 58px;
  border: 1px solid #d5d0c7;
  color: #171717;
  background:
    linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(0, 0, 0, 0.025) 28px);
  box-shadow: 0 10px 30px rgba(18, 38, 58, 0.08);
  font-family: Georgia, "Times New Roman", serif;
}

.source-agreement-document::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  content: "DEMO · NOT BINDING";
  color: rgba(176, 57, 50, 0.07);
  font-family: Arial, sans-serif;
  font-size: clamp(38px, 8vw, 92px);
  font-weight: 900;
  letter-spacing: 0.06em;
  transform: rotate(-31deg);
}

.source-agreement-document > * {
  position: relative;
  z-index: 1;
}

.source-agreement-title {
  margin: 0 0 6px;
  text-align: center;
  font-size: 24px;
  line-height: 1.25;
}

.source-agreement-subtitle {
  margin: 0 0 28px !important;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.source-agreement-heading {
  margin: 27px 0 9px;
  padding-bottom: 5px;
  border-bottom: 1px solid #bcb6aa;
  font-size: 16px;
  line-height: 1.3;
}

.source-agreement-document p {
  margin: 8px 0;
  font-size: 12px;
  line-height: 1.62;
}

.source-agreement-lines {
  margin: 10px 0 14px;
  padding-left: 18px;
  border-left: 2px solid #d8d2c7;
}

.source-agreement-lines p {
  margin: 4px 0;
}

.agreement-sign-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--teal-pale);
}

.agreement-sign-panel[hidden] {
  display: none;
}

.agreement-close-bottom {
  display: block;
  margin: 18px 0 0 auto;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-right: 2vw;
    padding-left: 2vw;
  }

  nav {
    gap: 16px;
    overflow-x: auto;
    padding: 0 10px;
  }

  .nav-link {
    flex: 0 0 auto;
    font-size: 11px;
  }

  .saved-header-button {
    display: none;
  }
}

@media (max-width: 980px) {
  nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 22px;
  }

  .seller-intake-grid,
  .tour-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .choice-home {
    width: min(100% - 28px, 1100px);
    padding: 58px 22px 80px;
  }

  .choice-card-grid,
  .agreement-card-grid,
  .seller-review-status,
  .agreement-intake-summary {
    grid-template-columns: 1fr;
  }

  .journey-card {
    min-height: 320px;
    padding: 28px;
  }

  .journey-icon {
    margin-bottom: 32px;
  }

  .home-support-row,
  .section-heading-actions,
  .seller-intake-actions,
  .buyer-intake-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading-actions {
    margin-top: 18px;
  }

  .buyer-intake-dialog-inner,
  .agreement-dialog-inner {
    padding: 22px;
  }

  .agreement-dialog-toolbar {
    top: -22px;
    margin: -22px -22px 0;
    padding: 20px 22px 16px;
  }

  .source-agreement-document {
    padding: 34px 22px;
  }

  .agreement-sign-panel {
    grid-template-columns: 1fr;
  }
}
