:root {
  --ink: #f7fbff;
  --muted: #a9b8c8;
  --line: rgba(160, 215, 255, 0.18);
  --paper: #05080d;
  --panel: #0d141c;
  --panel-strong: #121d27;
  --field: #0a1118;
  --cyan: #4bd8ff;
  --mint: #42f2a9;
  --violet: #a88bff;
  --amber: #ffbf69;
  --danger: #ff6b81;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(75, 216, 255, 0.12), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(66, 242, 169, 0.08), transparent 28%),
    linear-gradient(180deg, #05080d 0%, #080c12 46%, #04070b 100%);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 16px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 13, 0.86);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(247, 251, 255, 0.7);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  color: #031017;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(75, 216, 255, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition: 180ms ease;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(247, 251, 255, 0.22);
  border-radius: 7px;
  padding: 0 18px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  background: linear-gradient(135deg, rgba(75, 216, 255, 0.18), rgba(66, 242, 169, 0.14));
  box-shadow: 0 0 28px rgba(75, 216, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.header-cta:hover,
.button:hover {
  transform: translate(-2px, -2px);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.78fr);
  gap: clamp(24px, 5vw, 66px);
  min-height: clamp(720px, calc(100vh - 74px), 900px);
  padding: clamp(54px, 7vw, 96px) clamp(18px, 4vw, 58px) 58px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.98) 0%, rgba(5, 8, 13, 0.88) 56%, rgba(5, 8, 13, 0.64) 100%),
    linear-gradient(135deg, #05080d 0%, #0c1720 50%, #091d1b 100%);
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 112px;
  background:
    linear-gradient(90deg, rgba(75, 216, 255, 0.12) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(0deg, rgba(66, 242, 169, 0.1) 1px, transparent 1px) 0 0 / 30px 30px;
  content: "";
  opacity: 0.7;
  z-index: -1;
}

#networkCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-content {
  max-width: 860px;
  align-self: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.55rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.15rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 28px;
  color: #d4dee8;
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}

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

.button-primary {
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  color: #021016;
  box-shadow: 0 0 34px rgba(75, 216, 255, 0.2);
}

.button-secondary {
  background: rgba(247, 251, 255, 0.055);
  color: var(--ink);
}

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

.hero-metrics div {
  border-left: 4px solid var(--cyan);
  padding-left: 14px;
}

.hero-metrics dt {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.hero-panel {
  align-self: center;
  width: min(100%, 500px);
  justify-self: end;
  perspective: 1100px;
}

.portal-frame {
  position: relative;
  border: 1px solid rgba(247, 251, 255, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(10, 17, 24, 0.86);
  box-shadow: var(--shadow), 0 0 50px rgba(75, 216, 255, 0.16);
  backdrop-filter: blur(14px);
  animation: portalFloat 5.6s ease-in-out infinite;
}

.portal-frame::before {
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(75, 216, 255, 0.35), transparent 30%, rgba(66, 242, 169, 0.28));
  content: "";
  opacity: 0.35;
  z-index: -1;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border-bottom: 1px solid var(--line);
  color: #d5e2ee;
  font-weight: 900;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(66, 242, 169, 0.12);
}

.request-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.request-card.active {
  animation: scanPulse 3.8s ease-in-out infinite;
}

.label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 10px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.pill.urgent {
  background: rgba(168, 139, 255, 0.2);
  color: #dfd6ff;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.photo-strip span {
  display: block;
  aspect-ratio: 1.2 / 1;
  border: 1px solid rgba(247, 251, 255, 0.15);
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(75, 216, 255, 0.2), rgba(66, 242, 169, 0.05)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0, rgba(255, 255, 255, 0.09) 5px, transparent 5px, transparent 14px);
  animation: photoLoad 4.5s ease-in-out infinite;
}

.photo-strip span:nth-child(2) {
  animation-delay: 0.3s;
}

.photo-strip span:nth-child(3) {
  animation-delay: 0.6s;
}

.approval-lane {
  display: grid;
  gap: 10px;
}

.approval-lane div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.approval-lane span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 34px;
  border: 1px solid rgba(247, 251, 255, 0.22);
  border-radius: 6px;
  background: rgba(75, 216, 255, 0.1);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
}

.approval-lane p {
  margin: 4px 0 0;
  color: #d5e0ea;
  font-weight: 700;
}

.quote-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.quote-board div {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  background: rgba(247, 251, 255, 0.04);
}

.quote-board .selected {
  border-color: rgba(66, 242, 169, 0.7);
  background: rgba(66, 242, 169, 0.1);
  box-shadow: 0 0 26px rgba(66, 242, 169, 0.12);
}

.quote-board span,
.quote-board small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.quote-board strong {
  display: block;
  margin: 5px 0;
  font-size: 1.28rem;
  line-height: 1;
}

.section,
.workflow-section,
.contact-section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 4vw, 58px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: clamp(22px, 6vw, 72px);
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.section-copy {
  max-width: 980px;
  margin: 0;
  color: #d0d9e4;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.intro-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.016)),
    #080d13;
}

.systems-section {
  background: #060a10;
}

.system-grid,
.role-grid,
.launch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.system-card,
.role-card,
.launch-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.056), rgba(255, 255, 255, 0.024));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.system-card {
  min-height: 240px;
}

.system-card p,
.role-card p,
.launch-panel p,
.workflow-copy p,
.contact-section p {
  color: var(--muted);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border: 1px solid rgba(247, 251, 255, 0.2);
  border-radius: 7px;
  background: rgba(75, 216, 255, 0.1);
  color: var(--cyan);
  font-weight: 900;
  box-shadow: inset 0 0 24px rgba(75, 216, 255, 0.08);
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(340px, 0.86fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(75, 216, 255, 0.1), rgba(66, 242, 169, 0.06)),
    #04070b;
}

.workflow-copy p {
  max-width: 660px;
  color: #cad6e2;
  font-size: 1.06rem;
}

.flow-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 92px);
  gap: 12px;
  min-height: 380px;
}

.flow-map::before {
  position: absolute;
  inset: 30px 28px;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(75, 216, 255, 0.28) 12% 88%, transparent 88%),
    linear-gradient(180deg, transparent 0 28%, rgba(66, 242, 169, 0.25) 28% 72%, transparent 72%);
  content: "";
  filter: blur(0.2px);
  opacity: 0.58;
}

.flow-node {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 92px;
  border: 1px solid rgba(247, 251, 255, 0.2);
  border-radius: 8px;
  padding: 14px;
  background: rgba(10, 17, 24, 0.9);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  animation: nodeGlow 4.2s ease-in-out infinite;
}

.flow-node span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-node strong {
  margin-top: 4px;
  font-size: 1.08rem;
  line-height: 1.1;
}

.flow-node.tenant {
  grid-column: 1 / 3;
  grid-row: 1;
}

.flow-node.ai {
  grid-column: 3 / 5;
  grid-row: 2;
  animation-delay: 0.3s;
}

.flow-node.landlord {
  grid-column: 5 / 7;
  grid-row: 1;
  animation-delay: 0.6s;
}

.flow-node.contractor {
  grid-column: 2 / 4;
  grid-row: 4;
  animation-delay: 0.9s;
}

.flow-node.schedule {
  grid-column: 4 / 7;
  grid-row: 4;
  animation-delay: 1.2s;
}

.roles-section,
.launch-section {
  background: #080d13;
}

.role-card {
  min-height: 220px;
}

.demo-section {
  background:
    linear-gradient(180deg, rgba(75, 216, 255, 0.045), rgba(168, 139, 255, 0.03)),
    #05080d;
}

.planner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: stretch;
}

.planner-controls {
  display: grid;
  gap: 10px;
}

.repair-button {
  min-height: 54px;
  border: 1px solid rgba(247, 251, 255, 0.18);
  border-radius: 7px;
  background: rgba(247, 251, 255, 0.04);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
  padding: 0 16px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.repair-button:hover {
  transform: translateX(3px);
}

.repair-button.active {
  background: linear-gradient(135deg, rgba(75, 216, 255, 0.28), rgba(66, 242, 169, 0.18));
}

.planner-output {
  min-height: 314px;
  border: 1px solid rgba(247, 251, 255, 0.18);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.026));
  box-shadow: 0 0 44px rgba(75, 216, 255, 0.12);
}

.planner-output h3 {
  font-size: clamp(1.45rem, 3vw, 2.3rem);
}

.planner-output ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.planner-output li {
  position: relative;
  padding-left: 26px;
  color: #d2dee9;
  font-weight: 700;
}

.planner-output li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--mint);
  content: "";
}

.launch-panel span {
  display: block;
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.launch-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.24rem;
  line-height: 1.15;
}

.launch-panel.highlight {
  border-color: rgba(75, 216, 255, 0.46);
  background: linear-gradient(180deg, rgba(75, 216, 255, 0.12), rgba(255, 255, 255, 0.025));
  box-shadow: 0 0 44px rgba(75, 216, 255, 0.12);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.74fr);
  gap: clamp(28px, 7vw, 84px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.93), rgba(5, 8, 13, 0.8)),
    repeating-linear-gradient(45deg, rgba(75, 216, 255, 0.08) 0, rgba(75, 216, 255, 0.08) 2px, transparent 2px, transparent 24px);
}

.contact-section h2 {
  margin-bottom: 22px;
}

.contact-section p {
  max-width: 660px;
  font-size: 1.08rem;
}

.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(247, 251, 255, 0.2);
  border-radius: 8px;
  padding: 22px;
  background: rgba(10, 17, 24, 0.92);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #d2dce7;
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(247, 251, 255, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

.contact-form option {
  color: #071018;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(75, 216, 255, 0.14);
}

.contact-form textarea {
  resize: vertical;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--mint);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 58px);
  background: #030507;
}

.site-footer p {
  margin: 0;
  color: #cfd8e3;
}

.site-footer p:first-child {
  color: #fff;
  font-weight: 900;
}

/* Light product theme */
:root {
  --ink: #0c1724;
  --muted: #607083;
  --line: rgba(15, 71, 110, 0.13);
  --paper: #ffffff;
  --panel: #ffffff;
  --panel-strong: #f3f8fb;
  --field: #f8fbfd;
  --cyan: #0877d1;
  --mint: #00a978;
  --violet: #6f5cff;
  --amber: #d97904;
  --danger: #cc3150;
  --shadow: 0 24px 70px rgba(15, 40, 70, 0.14);
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(8, 119, 209, 0.12), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(0, 169, 120, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 48%, #ffffff 100%);
  color: var(--ink);
}

.site-header {
  border-bottom-color: rgba(15, 71, 110, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 36px rgba(15, 40, 70, 0.06);
}

.brand-mark {
  border-color: rgba(8, 119, 209, 0.28);
  color: #041726;
  box-shadow: 0 10px 28px rgba(8, 119, 209, 0.22);
}

.nav-links {
  color: #415064;
}

.header-cta {
  border-color: rgba(8, 119, 209, 0.2);
  background: #ffffff;
  color: #0c1724;
  box-shadow: 0 12px 32px rgba(8, 119, 209, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 56%, rgba(255, 255, 255, 0.72) 100%),
    linear-gradient(135deg, #ffffff 0%, #f2f9ff 48%, #edfdf7 100%);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(8, 119, 209, 0.1) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(0deg, rgba(0, 169, 120, 0.08) 1px, transparent 1px) 0 0 / 30px 30px;
}

.eyebrow {
  color: #007c5e;
}

.hero-copy,
.section-copy {
  color: #4f5f72;
}

.button {
  border-color: rgba(8, 119, 209, 0.16);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0877d1, #00a978);
  box-shadow: 0 18px 38px rgba(8, 119, 209, 0.22);
}

.button-secondary {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(15, 40, 70, 0.08);
}

.portal-frame,
.contact-form {
  border-color: rgba(15, 71, 110, 0.14);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow), 0 0 50px rgba(8, 119, 209, 0.12);
}

.portal-frame::before {
  background: linear-gradient(135deg, rgba(8, 119, 209, 0.26), transparent 32%, rgba(0, 169, 120, 0.22));
}

.panel-top {
  border-bottom-color: rgba(15, 71, 110, 0.12);
  color: #102033;
}

.request-card,
.quote-board div,
.system-card,
.role-card,
.launch-panel,
.planner-output,
.flow-node {
  border-color: rgba(15, 71, 110, 0.13);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 46px rgba(15, 40, 70, 0.08);
}

.request-card {
  background: #ffffff;
}

.pill.urgent {
  background: rgba(111, 92, 255, 0.12);
  color: #5142d4;
}

.photo-strip span {
  border-color: rgba(15, 71, 110, 0.12);
  background:
    linear-gradient(145deg, rgba(8, 119, 209, 0.16), rgba(0, 169, 120, 0.08)),
    repeating-linear-gradient(135deg, rgba(8, 119, 209, 0.12) 0, rgba(8, 119, 209, 0.12) 5px, transparent 5px, transparent 14px);
}

.approval-lane span,
.card-icon {
  border-color: rgba(8, 119, 209, 0.16);
  background: rgba(8, 119, 209, 0.08);
}

.approval-lane p,
.planner-output li {
  color: #34465a;
}

.quote-board .selected {
  border-color: rgba(0, 169, 120, 0.42);
  background: rgba(0, 169, 120, 0.08);
  box-shadow: 0 16px 40px rgba(0, 169, 120, 0.1);
}

.intro-section,
.systems-section,
.roles-section,
.launch-section {
  background: #ffffff;
}

.workflow-section {
  background:
    linear-gradient(90deg, rgba(8, 119, 209, 0.08), rgba(0, 169, 120, 0.06)),
    #f7fbfd;
}

.workflow-copy p,
.system-card p,
.role-card p,
.launch-panel p,
.contact-section p {
  color: #607083;
}

.flow-map::before {
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(8, 119, 209, 0.22) 12% 88%, transparent 88%),
    linear-gradient(180deg, transparent 0 28%, rgba(0, 169, 120, 0.2) 28% 72%, transparent 72%);
}

.demo-section {
  background:
    linear-gradient(180deg, rgba(8, 119, 209, 0.05), rgba(111, 92, 255, 0.03)),
    #f7fbfd;
}

.repair-button {
  border-color: rgba(15, 71, 110, 0.14);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(15, 40, 70, 0.06);
}

.repair-button.active {
  background: linear-gradient(135deg, rgba(8, 119, 209, 0.12), rgba(0, 169, 120, 0.12));
  border-color: rgba(8, 119, 209, 0.24);
}

.launch-panel.highlight {
  border-color: rgba(8, 119, 209, 0.28);
  background: linear-gradient(180deg, rgba(8, 119, 209, 0.08), rgba(255, 255, 255, 0.92));
  box-shadow: 0 18px 48px rgba(8, 119, 209, 0.1);
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86)),
    repeating-linear-gradient(45deg, rgba(8, 119, 209, 0.08) 0, rgba(8, 119, 209, 0.08) 2px, transparent 2px, transparent 24px);
}

.contact-form label {
  color: #34465a;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-color: rgba(15, 71, 110, 0.14);
  background: #f8fbfd;
  color: var(--ink);
}

.form-message {
  color: #007c5e;
}

.site-footer {
  background: #f4f8fb;
  border-top: 1px solid rgba(15, 71, 110, 0.1);
}

.site-footer p,
.site-footer p:first-child {
  color: #34465a;
}

.photo-strip span {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.photo-strip span::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(12, 23, 36, 0.28));
  content: "";
}

.photo-strip span:nth-child(1) {
  background-image: url("https://images.unsplash.com/photo-1585704032915-c3400ca199e7?auto=format&fit=crop&w=900&q=80");
}

.photo-strip span:nth-child(2) {
  background-image: url("https://images.unsplash.com/photo-1718203862467-c33159fdc504?auto=format&fit=crop&w=900&q=80");
}

.photo-strip span:nth-child(3) {
  background-image: url("https://images.unsplash.com/photo-1722603929403-de9e80c46a9a?auto=format&fit=crop&w=900&q=80");
}

.pricing-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 130px) clamp(18px, 4vw, 58px) clamp(48px, 7vw, 82px);
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 169, 120, 0.12), transparent 30%),
    radial-gradient(circle at 14% 12%, rgba(8, 119, 209, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7fbfd);
}

.pricing-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background:
    linear-gradient(90deg, rgba(8, 119, 209, 0.1) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(0deg, rgba(0, 169, 120, 0.08) 1px, transparent 1px) 0 0 / 30px 30px;
  content: "";
  opacity: 0.65;
}

.pricing-hero h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 6rem);
}

.pricing-hero p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #4f5f72;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.pricing-page-section {
  background: #ffffff;
}

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

.subscription-card {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  border: 1px solid rgba(15, 71, 110, 0.13);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 30px);
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(15, 40, 70, 0.1);
}

.subscription-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.featured-subscription {
  border-color: rgba(8, 119, 209, 0.32);
  background: linear-gradient(180deg, rgba(8, 119, 209, 0.07), #ffffff 44%);
  box-shadow: 0 24px 74px rgba(8, 119, 209, 0.16);
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 24px 0 8px;
}

.price-line strong {
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.9;
}

.price-line span {
  color: #607083;
  font-weight: 900;
}

.fee-note {
  min-height: 58px;
  margin-bottom: 24px;
  color: #4f5f72;
  font-weight: 800;
}

.subscription-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.subscription-card li {
  position: relative;
  padding-left: 26px;
  color: #34465a;
  font-weight: 700;
}

.subscription-card li::before {
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--mint);
  content: "";
}

.subscription-card .button {
  margin-top: auto;
}

.pricing-explainer {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 7vw, 84px);
  padding: clamp(64px, 9vw, 118px) clamp(18px, 4vw, 58px);
  background:
    linear-gradient(90deg, rgba(8, 119, 209, 0.08), rgba(0, 169, 120, 0.05)),
    #f7fbfd;
}

.pricing-explainer h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

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

.explainer-list p {
  margin: 0;
  border: 1px solid rgba(15, 71, 110, 0.13);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: #4f5f72;
  box-shadow: 0 14px 38px rgba(15, 40, 70, 0.07);
}

.signin-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 7vw, 84px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(64px, 9vw, 120px) clamp(18px, 4vw, 58px);
  background:
    radial-gradient(circle at 84% 12%, rgba(0, 169, 120, 0.12), transparent 30%),
    radial-gradient(circle at 16% 16%, rgba(8, 119, 209, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7fbfd);
}

.signin-copy {
  max-width: 820px;
}

.signin-copy h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.4vw, 6.2rem);
}

.signin-copy p {
  max-width: 700px;
  color: #4f5f72;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.signin-panel {
  border: 1px solid rgba(15, 71, 110, 0.14);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow), 0 0 50px rgba(8, 119, 209, 0.12);
}

.signin-card-preview {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: 18px;
  border: 1px solid rgba(15, 71, 110, 0.12);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: #ffffff;
}

.signin-avatar {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  color: #041726;
  font-weight: 900;
}

.signin-card-preview h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.signin-card-preview p {
  color: #607083;
}

.signin-field {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(15, 71, 110, 0.13);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(8, 119, 209, 0.08), rgba(0, 169, 120, 0.06)),
    #f8fbfd;
}

.signin-field.short {
  width: 72%;
}

.signin-note {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 7vw, 84px);
  padding: clamp(64px, 9vw, 118px) clamp(18px, 4vw, 58px);
  background: #ffffff;
}

.signin-note p:not(.eyebrow) {
  color: #4f5f72;
  font-size: 1.08rem;
}

.legal-hero {
  padding: clamp(70px, 10vw, 126px) clamp(18px, 4vw, 58px) clamp(42px, 7vw, 72px);
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 169, 120, 0.1), transparent 30%),
    radial-gradient(circle at 14% 12%, rgba(8, 119, 209, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7fbfd);
}

.legal-hero h1 {
  margin-bottom: 16px;
}

.legal-hero p:not(.eyebrow) {
  color: #607083;
  font-weight: 800;
}

.legal-content {
  max-width: 940px;
  padding: clamp(54px, 8vw, 90px) clamp(18px, 4vw, 58px);
}

.legal-content h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: #4f5f72;
  font-size: 1.05rem;
}

.site-footer {
  display: block;
  padding: 0;
  background: #f4f8fb;
  border-top: 1px solid rgba(15, 71, 110, 0.1);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 7vw, 84px);
  padding: clamp(42px, 7vw, 76px) clamp(18px, 4vw, 58px);
}

.footer-brand {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer-brand p {
  max-width: 420px;
  color: #4f5f72;
}

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

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h2 {
  margin: 0 0 8px;
  color: #0c1724;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-links a {
  color: #4f5f72;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(15, 71, 110, 0.1);
  padding: 18px clamp(18px, 4vw, 58px);
}

.footer-bottom p {
  margin: 0;
  color: #607083;
  font-weight: 700;
}

@keyframes portalFloat {
  0%,
  100% {
    transform: rotateX(0deg) rotateY(-3deg) translateY(0);
  }
  50% {
    transform: rotateX(2deg) rotateY(3deg) translateY(-10px);
  }
}

@keyframes scanPulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 rgba(75, 216, 255, 0);
  }
  50% {
    box-shadow: inset 0 0 38px rgba(75, 216, 255, 0.1), 0 0 28px rgba(75, 216, 255, 0.1);
  }
}

@keyframes photoLoad {
  0%,
  100% {
    opacity: 0.58;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes nodeGlow {
  0%,
  100% {
    border-color: rgba(247, 251, 255, 0.18);
  }
  50% {
    border-color: rgba(66, 242, 169, 0.62);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28), 0 0 30px rgba(66, 242, 169, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero,
  .section-heading,
  .workflow-section,
  .contact-section,
  .signin-section,
  .signin-note {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-panel {
    justify-self: stretch;
    width: 100%;
  }

  .section-heading .eyebrow {
    margin-bottom: -2px;
  }

  .system-grid,
  .role-grid,
  .launch-grid,
  .pricing-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-explainer {
    grid-template-columns: 1fr;
  }

  .footer-main,
  .footer-links {
    grid-template-columns: 1fr;
  }

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

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

  .repair-button {
    text-align: center;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: auto;
  }

  .brand {
    max-width: 220px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .hero {
    padding-bottom: 44px;
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-metrics,
  .quote-board,
  .system-grid,
  .role-grid,
  .launch-grid,
  .pricing-page-grid,
  .planner-controls {
    grid-template-columns: 1fr;
  }

  .subscription-card {
    min-height: auto;
  }

  .flow-map {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: auto;
  }

  .flow-map::before {
    inset: 20px 50%;
    width: 2px;
    background: rgba(75, 216, 255, 0.25);
  }

  .flow-node,
  .flow-node.tenant,
  .flow-node.ai,
  .flow-node.landlord,
  .flow-node.contractor,
  .flow-node.schedule {
    grid-column: auto;
    grid-row: auto;
  }

  .system-card,
  .role-card {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
