:root {
  --pink: #ff3158;
  --icon-soft-pink: #ffd1dc;
  --dark-pink: #ca003d;
  --black: #000;
  --ink: #171717;
  --muted: #525252;
  --line: #e5e7eb;
  --surface: #f8fafc;
  --radius: 16px;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: inherit;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::selection,
body *::selection {
  color: white;
  background: var(--pink);
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hidden {
  display: none !important;
}

.flex {
  display: flex !important;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.border-b {
  border-bottom: 1px solid var(--line);
}

.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;
}

.sr-only:focus {
  z-index: 100;
  width: auto;
  height: auto;
  padding: 8px 16px;
  margin: 0;
  clip: auto;
  overflow: visible;
  color: white;
  background: var(--pink);
  border-radius: 6px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.transition-colors {
  transition: color 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease;
}

.transition-transform {
  transition: transform 0.3s ease;
}

.transition-all {
  transition: color 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, transform 0.2s ease;
}

.hover\:bg-brand-darkpink:hover {
  background-color: var(--dark-pink);
}

.hover\:bg-brand-pink:hover {
  background-color: var(--pink);
}

.hover\:border-brand-pink:hover {
  border-color: var(--pink);
}

.hover\:text-brand-pink:hover {
  color: var(--pink);
}

.hover\:text-neutral-900:hover {
  color: var(--ink);
}

.hover\:text-white:hover {
  color: white;
}

.hover\:scale-\[1\.02\]:hover {
  transform: scale(1.02);
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

.group:hover .group-hover\:scale-\[1\.02\] {
  transform: scale(1.02);
}

.group:hover .group-hover\:bg-black\/30 {
  background-color: rgba(0, 0, 0, 0.3);
}

#header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 80px;
  background: white;
  transition: border-color 0.3s ease;
}

#header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, 1280px);
  height: 80px;
  margin: 0 auto;
}

#header img {
  width: auto;
  height: 36px;
}

#header nav {
  display: flex !important;
  align-items: center;
  gap: 32px;
}

#header nav a {
  padding: 4px 8px;
  color: #525252;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

#header nav a:hover {
  color: var(--ink);
}

#header-inner > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

#header-inner > div > a {
  display: inline-flex !important;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  background: var(--pink);
  border-radius: 12px;
}

#header-inner > div > a:hover,
#mobile-menu .mobile-link:last-child:hover {
  background: var(--dark-pink);
}

#mobile-menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  line-height: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

#mobile-menu-btn svg {
  display: block;
}

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: white;
  transition: opacity 0.3s ease;
}

#mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 12px;
  background: transparent;
  border: 0;
}

#mobile-menu .mobile-link {
  padding: 8px;
  font-size: 30px;
  font-weight: 600;
}

#mobile-menu .mobile-link:last-child {
  min-height: 44px;
  margin-top: 20px;
  padding: 0 24px;
  color: white;
  font-size: 14px;
  background: var(--pink);
  border-radius: 12px;
}

.landing-page main > section:not(#matterport-tour) {
  position: relative;
  padding: 96px 24px;
}

.landing-page section > div:not(#hero-slideshow) {
  width: min(100%, 1280px);
  margin-inline: auto;
}

.landing-page main > section:first-child {
  display: flex;
  min-height: 100vh;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background: #e2e8f0;
}

@media (min-width: 768px) {
  .landing-page main > section:first-child:not(#matterport-tour) {
    /* Balance the section padding beneath the fixed 80px header. */
    padding-top: calc(80px + 96px);
  }

  .landing-page main > section:first-child:not(#matterport-tour) > div:last-child > div {
    max-width: min(640px, 50%);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #header nav,
  #header-inner > div > a {
    display: none !important;
  }

  #mobile-menu-btn {
    display: block;
  }

  .landing-page main > section:first-child h1 + p + div {
    flex-direction: column;
  }
}

#hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#hero-slideshow > div {
  position: absolute;
  inset: 80px 0 0;
  z-index: 5;
}

#hero-slideshow > img:last-of-type {
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 75%;
  width: min(46vw, 560px);
  max-height: 78vh;
  object-fit: contain;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease-in-out;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
}

@keyframes hero-zoom-in {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

@keyframes hero-zoom-out {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.hero-slide.is-active[data-zoom='in'] {
  animation: hero-zoom-in 7s ease-in-out both;
}

.hero-slide.is-active[data-zoom='out'] {
  animation: hero-zoom-out 7s ease-in-out both;
}

.landing-page main > section:first-child > div:last-child {
  position: relative;
  z-index: 10;
  width: min(100%, 1280px);
}

.landing-page main > section:first-child > div:last-child > div {
  max-width: 640px;
}

.landing-page main > section:first-child h1 {
  margin-bottom: 24px;
  color: white;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
}

.landing-page main > section:first-child h1 span {
  color: var(--pink);
}

.landing-page main > section:first-child h1 + p {
  max-width: 640px;
  margin-bottom: 40px;
  color: #e5e5e5;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.65;
  text-wrap: pretty;
}

.landing-page main > section:first-child h1 + p + div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scan-price {
  align-self: center;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.5;
  white-space: nowrap;
}

.landing-page main > section:first-child h1 + p + div a {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  font-weight: 600;
  border-radius: 12px;
}

.landing-page main > section:first-child h1 + p + div a:first-child {
  color: white;
  background: var(--pink);
}

.landing-page main > section:first-child h1 + p + div a:last-of-type {
  color: var(--ink);
  background: white;
  border: 1px solid white;
}

.landing-page main > section:first-child h1 + p + div a:first-child:hover {
  background: var(--dark-pink);
  transform: scale(1.02);
}

.landing-page main > section:first-child h1 + p + div a:last-of-type:hover {
  color: var(--pink);
  border-color: var(--pink);
}

#features,
#publishing,
#pricing {
  background: var(--surface);
}

#agent-features {
  background: white;
}

#features > div > div:first-child,
#agent-features > div > div:first-child,
#publishing > div > div:first-child,
#pricing > div > div:first-child {
  max-width: 600px;
  margin: 0 auto 64px;
  text-align: center;
}

.landing-page section p[class*='uppercase'],
#features > div > div:first-child > p:first-child,
#agent-features > div > div:first-child > p:first-child,
#publishing > div > div:first-child > p:first-child {
  margin-bottom: 16px;
  color: var(--dark-pink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-page section p[class~="text-[color:var(--pink)]"] {
  color: var(--pink);
  border-color: var(--pink);
}

.landing-page section p[class~="mb-[24px]"] {
  margin-bottom: 24px;
}

.landing-page section h2 {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
  text-wrap: wrap;
}

.landing-page section h2 + p {
  max-width: 600px;
  margin-inline: auto;
  color: #525252;
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
}

#features > div > div:nth-child(2) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

#features > div > div:nth-child(2) > div,
#publishing article {
  padding: 32px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
}

#features > div > div:nth-child(2) > div:hover {
  border-color: var(--pink);
}

#features > div > div:nth-child(2) > div > div:first-child {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--pink);
  background: #ffe8ed;
  border-radius: 50%;
}

#features svg {
  width: 24px;
  height: 24px;
}

.landing-page article h3,
#features h3,
#pricing h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.landing-page article p,
#features article p,
#features h3 + p {
  color: #525252;
  line-height: 1.65;
}

#matterport-tour {
  position: relative;
  width: 100%;
  min-height: 640px;
  height: 90vh;
  padding: 0;
  background: black;
}

#matterport-tour button {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: black;
  border: 0;
}

#matterport-tour > .matterport-tour-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

#matterport-tour button > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#matterport-tour button:hover > img {
  transform: scale(1.02);
}

#matterport-tour button > span:first-of-type {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

#matterport-tour button:hover > span:first-of-type {
  background: rgba(0, 0, 0, 0.3);
}

#matterport-tour button > span:last-of-type {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#matterport-tour button > span:last-of-type > span {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--pink);
  border-radius: 50%;
}

#matterport-tour button:hover > span:last-of-type > span {
  transform: scale(1.05);
}

#matterport-tour svg {
  width: 28px;
  height: 28px;
}

#agent-features > div > div:nth-child(2) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

#agent-features article img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

#agent-features article > div {
  padding-top: 28px;
}

#agent-features article h3 {
  font-size: 30px;
}

#agent-features > div > div:last-child {
  max-width: 1024px;
  margin: 64px auto 0;
}

#agent-features > div > div:last-child > div {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  align-items: center;
}

#agent-features > div > div:last-child > div > div:first-child p:last-child {
  margin: 0;
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
}

#agent-features > div > div:last-child > div > div:last-child {
  padding-left: 48px;
  border-left: 2px solid var(--pink);
}

#agent-features > div > div:last-child > div > div:last-child p:first-child {
  margin-bottom: 0;
  color: #262626;
  font-size: 28px;
  line-height: 1.5;
}

#publishing > div > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

#publishing article > div:first-child {
  width: 40px;
  height: 4px;
  margin-bottom: 24px;
  background: var(--pink);
}

#specs {
  min-height: 680px;
  overflow: hidden;
  color: white;
  background: #0a0a0a;
}

#specs > img,
#specs > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#specs > div {
  position: relative;
  z-index: 10;
}

#specs > div > div {
  width: 50%;
}

#specs h2,
#specs h2 + p {
  color: white;
}

#specs details {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#specs details:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#specs summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  list-style: none;
}

#specs summary::-webkit-details-marker {
  display: none;
}

#specs summary > span:first-child {
  display: flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  background: rgba(255, 49, 88, 0.25);
  border-radius: 50%;
}

#specs summary > span:nth-child(2) {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
}

#specs summary svg {
  width: 24px;
  height: 24px;
}

#specs details > p {
  padding: 0 0 24px 64px;
  margin: 0;
  color: #e5e5e5;
}

#pricing h3 {
  font-size: 24px;
}

footer {
  padding: 64px 24px;
  color: white;
  background: black;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.footer-brand-row,
.footer-legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

footer img {
  width: auto;
  height: 36px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.footer-social a:hover {
  background: var(--pink);
  border-color: var(--pink);
}

.footer-legal-row {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-copyright {
  max-width: 760px;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
  white-space: nowrap;
}

.footer-legal-links a:hover {
  color: white;
}

.order-page main {
  padding: 128px 24px 48px;
}

.order-page main > div {
  width: min(100%, 1152px);
  margin: 0 auto;
}

.order-page main > div > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: #525252;
  font-size: 14px;
  font-weight: 600;
}

.order-page main > div > a svg {
  width: 16px;
  height: 16px;
}

.order-page main > div > a:hover {
  color: var(--pink);
}

.order-page main > div > div:not(#order-layout) {
  margin-bottom: 40px;
}

.order-page main > div > div:not(#order-layout) > p:first-child {
  margin-bottom: 12px;
  color: var(--dark-pink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.order-page h1 {
  margin-bottom: 16px;
  font-size: 48px;
  line-height: 1.1;
}

.order-page h1 + p {
  color: #525252;
  font-size: 18px;
}

#order-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  align-items: start;
}

#order-layout > section {
  padding: 40px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

#order-layout > section > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

#order-layout h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

#order-layout h2 + p,
#order-layout section p {
  color: #525252;
}

#order-layout > section > div:first-child > div:last-child {
  flex: 0 0 auto;
  text-align: right;
}

#order-layout > section > div:first-child > div:last-child p:first-child {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
}

#order-layout > section > div:nth-child(2) {
  padding-top: 32px;
}

#order-layout h3 {
  margin-bottom: 20px;
}

[data-plan-features] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

[data-plan-features] li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #525252;
}

[data-plan-features] svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  color: var(--pink);
}

#customer-particulars {
  padding-top: 32px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

#customer-particulars > div:nth-child(2) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

#customer-particulars > div:nth-child(2) > div:nth-child(3),
#customer-particulars > div:nth-child(2) > div:nth-child(6) {
  grid-column: 1 / -1;
}

#customer-particulars label {
  display: block;
  margin-bottom: 8px;
  color: #262626;
  font-size: 14px;
  font-weight: 600;
}

#customer-particulars label span,
#customer-particulars > p span {
  color: var(--dark-pink);
}

#customer-particulars input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  color: var(--ink);
  background: white;
  border: 1px solid #d4d4d4;
  border-radius: 12px;
}

#customer-particulars input:focus {
  border-color: var(--pink);
  outline: 1px solid var(--pink);
  outline-offset: -1px;
  box-shadow: none;
}

#customer-particulars > p {
  margin-top: 20px;
  font-size: 12px;
}

#order-layout > aside {
  position: sticky;
  top: 112px;
  padding: 32px;
  color: white;
  background: #0a0a0a;
  border-radius: var(--radius);
}

#order-layout > aside h2 {
  margin-bottom: 28px;
  font-size: 20px;
}

#order-layout dl {
  margin: 0;
}

#order-layout dl > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

#order-layout dt {
  color: #d4d4d4;
}

#order-layout dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

#order-layout dl > div:last-child {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#order-layout dl > div:last-child dt {
  color: white;
  font-size: 18px;
  font-weight: 700;
}

#order-layout dl > div:last-child dd span:first-child {
  display: block;
  font-size: 24px;
}

#order-layout dl > div:last-child dd span:last-child {
  color: #a3a3a3;
  font-size: 12px;
}

#continue-order {
  width: 100%;
  min-height: 44px;
  padding: 0 24px;
  margin-top: 32px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  background: var(--pink);
  border: 0;
  border-radius: 12px;
}

#continue-order:hover {
  background: var(--dark-pink);
}

.reveal {
  opacity: 0;
  transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.fade-up {
  transform: translateY(72px);
}

@keyframes section-content-reveal {
  from { opacity: 0; transform: translateY(72px); }
  to { opacity: 1; transform: translateY(0); }
}

#pricing .pricing-panel:not([hidden]),
.faq-item[open] .faq-body {
  animation: section-content-reveal 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  #pricing .pricing-panel:not([hidden]),
  .faq-item[open] .faq-body {
    animation: none;
  }
}

.slide-right {
  transform: translateX(-88px);
}

.slide-left {
  transform: translateX(88px);
}

.scale-in {
  transform: scale(0.86);
}

.delay-100 { transition-delay: 160ms; }
.delay-200 { transition-delay: 320ms; }
.delay-300 { transition-delay: 480ms; }
.delay-400 { transition-delay: 640ms; }

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pink);
}

@media (max-width: 1023px) {
  #features > div > div:nth-child(2) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #specs > div > div {
    width: 65%;
  }

  #order-layout {
    grid-template-columns: 1fr;
  }

  #order-layout > aside {
    position: static;
  }
}

@media (max-width: 767px) {
  #header-inner {
    width: min(100% - 32px, 1280px);
  }

  #header img {
    height: 32px;
  }

  #header nav,
  #header-inner > div > a {
    display: none !important;
  }

  #mobile-menu-btn {
    display: block;
  }

  .landing-page main > section:not(#matterport-tour) {
    padding: 80px 24px;
  }

  .landing-page main > section:first-child {
    min-height: 100svh;
    padding-top: 80px;
  }

  .landing-page main > section:first-child:not(#matterport-tour) {
    padding-top: 136px;
    padding-bottom: 32px;
  }

  #hero-slideshow > img:last-of-type {
    left: 50%;
    width: min(72vw, 390px);
    max-height: min(38svh, 320px);
  }

  .landing-page main > section:first-child > div:last-child > div {
    padding-bottom: calc(min(38svh, 320px) + 24px);
  }

  .landing-page main > section:first-child h1 {
    font-size: 42px;
  }

  .landing-page main > section:first-child h1 + p + div {
    flex-direction: column;
  }

  #features > div > div:nth-child(2),
  #agent-features > div > div:nth-child(2),
  #publishing > div > div:last-child {
    grid-template-columns: 1fr;
  }

  #agent-features > div > div:last-child > div {
    grid-template-columns: 1fr;
  }

  #agent-features > div > div:last-child > div > div:last-child {
    padding: 32px 0 0;
    text-align: center;
    border-top: 2px solid var(--pink);
    border-left: 0;
  }

  #agent-features > div > div:last-child > div > div:first-child {
    text-align: center;
  }

  #specs > div > div {
    width: 100%;
  }

  #matterport-tour {
    min-height: 540px;
    height: 75vh;
  }

  .footer-brand-row,
  .footer-legal-row {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-row {
    gap: 24px;
  }

  .footer-copyright {
    max-width: 340px;
  }

  .order-page main {
    padding: 112px 24px 48px;
  }

  .order-page h1 {
    font-size: 38px;
  }

  #order-layout > section {
    padding: 24px;
  }

  #order-layout > section > div:first-child {
    flex-direction: column;
  }

  #order-layout > section > div:first-child > div:last-child {
    text-align: left;
  }

  [data-plan-features],
  #customer-particulars > div:nth-child(2) {
    grid-template-columns: 1fr;
  }

  #customer-particulars > div:nth-child(2) > div:nth-child(3),
  #customer-particulars > div:nth-child(2) > div:nth-child(6) {
    grid-column: auto;
  }
}


/* ---- Restructure additions ---- */
#why-matterport { padding: 0 !important; background: var(--surface); }
#why-matterport > section:not(#matterport-tour) { position: relative; padding: 96px 24px; }
#why-matterport h3[id$="-heading"] { margin-bottom: 24px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; font-weight: 700; }
#features h3[id], #agent-features h3[id], #publishing h3[id] { color: var(--ink); }
#specs h3[id] { color: white; }
#features h3[id] + p { color: #525252; font-size: 18px; line-height: 1.65; }
#specs h3[id] + p { color: white; }
#features h4, #publishing h4, #agent-features h4 { margin-bottom: 12px; font-size: 20px; }
#agent-features article h4 { font-size: 30px; }
#features h4 + p, #publishing h4 + p, #agent-features h4 + p { color: #525252; line-height: 1.65; }
#agent-features > div > div:last-child { max-width: none; margin: 0; }
#agent-features > div > div:last-child > div { display: block; }
#agent-features > div > div:last-child > div > div:last-child { padding-left: 0; border-left: 0; }
#agent-features > div > div:nth-child(2) { margin-bottom: 0; }
#publishing article { padding: 32px; }
#why-matterport > #features { background: var(--surface); }

/* Restore the Pro3 media-backed layout with static, always-visible points. */
#why-matterport > #features.pro3-layout {
  overflow: hidden;
  background: #0a0a0a;
  color: white;
}

#features.pro3-layout .pro3-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#features.pro3-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

#features.pro3-layout .pro3-content {
  position: relative;
  z-index: 2;
}

#features.pro3-layout .pro3-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(40px, 6vw, 80px);
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: left;
}

#features.pro3-layout .pro3-eyebrow {
  margin-bottom: 16px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#features.pro3-layout h2,
#features.pro3-layout h2 + p {
  margin-left: 0;
  color: white;
}

#features.pro3-layout .pro3-points {
  padding: 0;
  margin: 0;
  list-style: none;
}

#features.pro3-layout .pro3-points li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

#features.pro3-layout .pro3-points li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

#features.pro3-layout .pro3-icon {
  display: flex;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--pink);
  background: rgba(255, 49, 88, 0.25);
}

#features.pro3-layout .pro3-icon svg > :first-child {
  fill: var(--icon-soft-pink);
}

#features.pro3-layout .pro3-points h3 {
  min-width: 0;
  margin: 0;
  color: white;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

#features.pro3-layout .pro3-point-copy {
  min-width: 0;
}

#features.pro3-layout .pro3-point-copy p {
  margin: 6px 0 0;
  color: #e5e5e5;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 1023px) {
  #features.pro3-layout .pro3-copy { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  #why-matterport > #features.pro3-layout { padding: 80px 24px; }
  #features.pro3-layout .pro3-copy { width: 100%; }
}
#why-matterport > #agent-features { background: white; }
#why-matterport > #publishing { background: var(--surface); }

.value-props { background: var(--surface); }
.how-it-works { background: white; }
.how-it-works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.how-it-works-card { min-width: 0; padding: 32px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.how-it-works-number { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; margin-bottom: 20px; color: white; font-size: 16px; font-weight: 700; background: var(--pink); border-radius: 50%; }
.how-it-works-card h3 { margin: 0 0 14px; color: var(--ink); font-size: 23px; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
.how-it-works-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.how-it-works-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 24px; margin-top: 40px; }
.how-it-works-book { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 12px 24px; color: white; font-size: 14px; font-weight: 600; line-height: 1.4; background: var(--pink); border-radius: 12px; transition: background-color 180ms ease; }
.how-it-works-book:hover { background: var(--dark-pink); }
.how-it-works-guide { color: var(--dark-pink); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.how-it-works-actions a:focus-visible { outline: 3px solid var(--dark-pink); outline-offset: 4px; }
@media (max-width: 767px) {
  .how-it-works-grid { grid-template-columns: 1fr; }
  .how-it-works-card { padding: 28px 24px; }
  .how-it-works-actions { flex-direction: column; text-align: center; }
}

.vp-intro { max-width: 600px; margin: 0 auto 56px; text-align: center; }
.vp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 48px; padding: 0; margin: 0; list-style: none; }
.vp-card { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.vp-card-icon { display: block; width: 40px; height: 40px; margin-bottom: 18px; color: var(--pink); }
.vp-card-icon .vp-icon-soft { fill: var(--icon-soft-pink); }
.vp-card-icon .vp-icon-accent { fill: currentColor; }
.vp-card h3 { margin: 0 0 14px; color: var(--ink); font-size: 23px; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.vp-card p { margin: 0; color: #525252; font-size: 16px; line-height: 1.65; }
.vp-cta { margin-top: 40px; text-align: center; }
.vp-cta a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 12px 24px; color: #ffffff; font-size: 14px; font-weight: 600; line-height: 1.4; background: var(--pink); border-radius: 12px; transition: background-color 180ms ease; }
.vp-cta a:hover { background: var(--dark-pink); }
.vp-cta a:focus-visible { outline: 3px solid var(--dark-pink); outline-offset: 4px; }

.service-quick-view { padding: 28px 24px; color: #ffffff; text-align: center; background: #000000; scroll-margin-top: 80px; }
.service-quick-view-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; width: min(100%, 1280px); margin: 0 auto; }
.service-quick-view dt { color: #ffffff; font-size: 24px; font-weight: 700; line-height: 1.4; }
.service-quick-view dd { margin: 4px 0 0; color: #ffffff; font-size: 14px; line-height: 1.5; }
@media (max-width: 767px) {
  .service-quick-view { padding-block: 24px; }
  .service-quick-view-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
}

.faq-section { background: white; }
.faq-list { width: 100%; margin: 0; border-top: 1px solid #d4d4d4; }
.faq-item { border-bottom: 1px solid #d4d4d4; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 18px 4px; font-size: 18px; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 auto; color: var(--dark-pink); font-size: 28px; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-body { padding: 0 4px 22px; color: #525252; line-height: 1.7; }
.faq-body p { margin: 0; }

.listing-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 64px; padding: clamp(28px, 4vw, 52px); overflow: hidden; color: white; background: radial-gradient(ellipse at 0% 0%, rgba(202, 0, 61, 0.18), transparent 48%), #151418; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); box-shadow: 0 18px 48px rgba(20, 12, 16, 0.14); }
.listing-cta-copy { flex: 1; min-width: 0; }
.landing-page .listing-cta h2 { margin: 0 0 12px; color: white; font-size: clamp(25px, 3vw, 38px); font-weight: 700; line-height: 1.13; letter-spacing: -0.035em; text-align: left; text-wrap: wrap; }
.landing-page .listing-cta-copy p { max-width: none; margin: 0; color: #d0cdd1; font-size: 16px; line-height: 1.6; text-align: left; }
.listing-cta-actions { display: flex; flex: 0 0 auto; gap: 12px; align-items: center; }
.listing-cta-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 24px; color: white; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; background: var(--pink); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; cursor: pointer; transition: background-color 180ms ease; }
.listing-cta-button:hover { background: var(--dark-pink); }
.listing-cta-button:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.listing-cta-secondary { color: white; background: transparent; border-color: rgba(255, 255, 255, 0.6); }
.listing-cta-secondary:disabled { opacity: 0.65; cursor: not-allowed; background: transparent; }
@media (max-width: 1023px) {
  .listing-cta { flex-direction: column; align-items: stretch; gap: 26px; }
}
@media (max-width: 767px) {
  .listing-cta { padding: 28px 24px; }
  .landing-page .listing-cta h2 { font-size: clamp(28px, 8vw, 32px); }
  .listing-cta-actions { flex-direction: column; align-items: stretch; }
}

section[id], #why-matterport > section { scroll-margin-top: 80px; }

@media (max-width: 1279px) {
  .vp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .vp-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  #why-matterport > section:not(#matterport-tour) { padding: 72px 24px; }
  #publishing article { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-slide {
    display: none;
  }

  .hero-slide:first-child {
    display: block;
    opacity: 1;
  }

  .pro3-background-video {
    display: none;
  }
}
/* ---- Per-scan pricing ---- */
#pricing .pricing-selector { max-width: 840px; margin: 0 auto; }
#pricing .pricing-tabs { display: flex; gap: 4px; padding: 6px; overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
#pricing .pricing-tabs button { flex: 1 0 auto; min-height: 48px; padding: 12px 20px; color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; white-space: nowrap; background: transparent; border: 0; border-radius: 12px; cursor: pointer; transition: background-color 180ms ease, color 180ms ease; }
#pricing .pricing-tabs button:hover { background: #f5f5f5; }
#pricing .pricing-tabs button[aria-selected="true"] { color: white; background: var(--ink); }
#pricing .pricing-tabs button:focus-visible { outline: 2px solid var(--pink); outline-offset: -2px; }
#pricing .pricing-panel { max-width: 600px; margin: 36px auto 0; padding: 40px 32px; text-align: center; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
#pricing .pricing-panel[hidden] { display: none; }
#pricing .pricing-panel:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
#pricing .pricing-range { margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.5; }
#pricing .pricing-amount { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 0 0 16px; }
#pricing .pricing-amount strong { color: var(--ink); font-size: clamp(56px, 6vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
#pricing .pricing-amount span { color: var(--muted); font-size: 16px; }
#pricing .pricing-delivery { margin: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.6; }
#pricing .pricing-book { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 12px 28px; color: white; font-size: 16px; font-weight: 600; background: var(--pink); border-radius: 12px; transition: background-color 180ms ease; }
#pricing .pricing-book:hover { background: var(--dark-pink); }
#pricing .pricing-book:focus-visible { outline: 3px solid var(--dark-pink); outline-offset: 4px; }
#pricing .pricing-quote { margin: 32px auto 0; color: var(--muted); font-size: 16px; line-height: 1.6; text-align: center; }
#pricing .pricing-quote a { color: var(--dark-pink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#pricing .pricing-quote a:focus-visible { outline: 2px solid var(--dark-pink); outline-offset: 4px; }
@media (max-width: 767px) {
  #pricing .pricing-tabs button { padding: 12px 16px; font-size: 14px; }
  #pricing .pricing-panel { padding: 32px 24px; margin-top: 24px; }
}
@media (max-width: 374px) {
  .landing-page section h2 { font-size: 30px; }
}
