:root {
  --navy: #050505;
  --navy-2: #141414;
  --ink: #121212;
  --muted: #666666;
  --line: #d7d7d2;
  --soft: #f6f5f0;
  --white: #ffffff;
  --accent: #050505;
  --accent-strong: #050505;
  --accent-soft: #eeeeea;
  --shadow: 0 28px 70px rgba(5, 5, 5, 0.1);
  --radius: 2px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.025) 1px, transparent 1px),
    var(--white);
  background-size: 72px 72px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-tint {
  background: var(--soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(5, 5, 5, 0.14);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(5, 5, 5, 0.08);
}

.nav {
  width: min(var(--container), calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #2b2b2b;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.nav-cta {
  padding: 11px 16px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 72px 0 88px;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf6 0%, #ffffff 62%);
  background-size: 72px 72px, auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 7.2vw, 6.35rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero-subtitle {
  max-width: 690px;
  margin-bottom: 32px;
  color: #3e3e3e;
  font-size: 1.12rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--accent-strong);
  box-shadow: 0 18px 34px rgba(5, 5, 5, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #2a2a2a;
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--navy);
}

.workflow-board {
  position: relative;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(5, 5, 5, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.workflow-board::before {
  content: "";
  position: absolute;
  inset: 70px 0 auto;
  height: 1px;
  background: var(--line);
}

.board-header {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.board-header span {
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: #c9c8c2;
}

.board-header span:first-child {
  background: var(--navy);
}

.workflow-main {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  align-items: center;
  gap: 8px;
}

.workflow-node {
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
}

.workflow-node strong,
.workflow-node small {
  display: block;
}

.workflow-node strong {
  margin: 14px 0 5px;
  color: var(--navy);
}

.workflow-node small {
  color: var(--muted);
}

.node-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
  font-size: 0.82rem;
}

.flow-line {
  height: 2px;
  background: linear-gradient(90deg, var(--line), var(--accent));
}

.dashboard-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.dashboard-strip div {
  padding: 16px;
  border-radius: var(--radius);
  background: #f2f1ec;
}

.dashboard-strip span,
.dashboard-strip strong {
  display: block;
}

.dashboard-strip span {
  color: var(--muted);
  font-size: 0.85rem;
}

.dashboard-strip strong {
  color: var(--navy);
  font-size: 1.24rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.chart {
  margin-top: 18px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.align-left {
  margin: 0;
  text-align: left;
}

.card-grid,
.services-grid,
.feature-grid,
.industry-grid {
  display: grid;
  gap: 18px;
}

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

.card,
.service-card,
.feature-card,
.industry-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 249, 245, 0.94)),
    var(--white);
}

.card {
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover,
.service-card:hover,
.feature-card:hover,
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(5, 5, 5, 0.09);
}

.card h3 {
  margin: 18px 0 10px;
}

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

.icon,
.service-icon,
.mini-icon {
  display: inline-block;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.icon::before,
.icon::after,
.service-icon::before,
.service-icon::after,
.mini-icon::before,
.mini-icon::after {
  content: "";
  position: absolute;
  background: var(--accent-strong);
}

.admin::before {
  width: 22px;
  height: 18px;
  left: 12px;
  top: 13px;
  border: 2px solid var(--accent-strong);
  background: transparent;
}

.admin::after {
  width: 18px;
  height: 2px;
  left: 14px;
  top: 22px;
}

.sales::before {
  width: 22px;
  height: 22px;
  left: 12px;
  top: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent-strong);
  background: transparent;
}

.sales::after {
  width: 12px;
  height: 2px;
  left: 24px;
  top: 29px;
  transform: rotate(45deg);
}

.process::before,
.response::before,
.systems::before,
.visibility::before {
  left: 12px;
  top: 13px;
  width: 22px;
  height: 4px;
  box-shadow: 0 8px 0 var(--accent-strong), 0 16px 0 var(--accent-strong);
}

.process::after {
  width: 6px;
  height: 6px;
  left: 32px;
  top: 21px;
  border-radius: 50%;
}

.response::after {
  width: 18px;
  height: 12px;
  left: 13px;
  top: 24px;
  border: 2px solid var(--accent-strong);
  border-radius: 3px;
  background: transparent;
}

.systems::after {
  width: 24px;
  height: 24px;
  left: 11px;
  top: 11px;
  border: 2px dashed var(--accent-strong);
  background: transparent;
}

.visibility::after {
  width: 22px;
  height: 16px;
  left: 12px;
  top: 19px;
  border-left: 4px solid var(--accent-strong);
  border-bottom: 4px solid var(--accent-strong);
  background: transparent;
}

.services-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-top {
  min-height: 106px;
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding: 10px 0 10px 24px;
  color: #4b4b4b;
  border-top: 1px solid var(--line);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 0;
  background: var(--accent);
}

.architecture::before,
.ai::before,
.analytics::before,
.proptech::before {
  left: 12px;
  top: 12px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--accent-strong);
  background: transparent;
}

.architecture::after {
  left: 17px;
  top: 17px;
  width: 12px;
  height: 12px;
}

.ai::before {
  border-radius: 50%;
}

.ai::after {
  left: 16px;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.analytics::after {
  left: 13px;
  top: 25px;
  width: 5px;
  height: 10px;
  box-shadow: 8px -6px 0 var(--accent-strong), 16px -13px 0 var(--accent-strong);
}

.proptech::before {
  transform: rotate(45deg);
}

.proptech::after {
  left: 19px;
  top: 15px;
  width: 8px;
  height: 20px;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 56px;
  align-items: start;
}

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

.feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card h3 {
  margin: 0;
}

.mini-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}

.mini-icon::before {
  left: 12px;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.mini-icon::after {
  left: 20px;
  top: 7px;
  width: 3px;
  height: 28px;
  transform: rotate(45deg);
}

.section-navy {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    var(--navy);
  background-size: 72px 72px;
}

.section-navy h2,
.section-navy h3,
.section-navy .eyebrow {
  color: var(--white);
}

.section-navy .section-heading p {
  color: #d8d8d2;
}

.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-flow::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.process-step {
  position: relative;
  min-height: 218px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
}

.process-step p {
  margin: 0;
  color: #d8d8d2;
}

.industry-grid {
  grid-template-columns: repeat(6, 1fr);
}

.industry-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 148px;
  padding: 22px;
  color: var(--navy);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.industry-card span {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent 42%, var(--accent-strong) 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 42%, var(--accent-strong) 42% 58%, transparent 58%),
    var(--accent-soft);
}

.about-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 249, 245, 0.94)),
    var(--white);
  box-shadow: 0 18px 44px rgba(5, 5, 5, 0.07);
}

.about-panel p:last-child {
  margin: 0;
  color: #4b4b4b;
  font-size: 1.08rem;
}

.contact-section {
  background:
    linear-gradient(180deg, var(--white), #f6f5f0);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-note {
  margin-top: 28px;
  padding: 22px;
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  background: var(--soft);
}

.contact-note strong,
.contact-note span {
  display: block;
}

.contact-note span {
  color: var(--muted);
}

.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 249, 245, 0.96)),
    var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 18px;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf6;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(5, 5, 5, 0.1);
}

.form-button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--navy);
  font-weight: 700;
}

.site-footer {
  padding: 36px 0;
  color: #d8d8d2;
  background: var(--navy);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  margin: 10px 0 0;
}

.footer-grid > p {
  margin: 0;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(5, 5, 5, 0.35);
  outline-offset: 3px;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .contact-grid,
  .about-panel {
    grid-template-columns: 1fr;
  }

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

  .problems-grid,
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 72px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 40px rgba(5, 5, 5, 0.1);
    transform: translateY(-140%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a {
    padding: 14px 0;
  }

  .nav-cta {
    margin-top: 8px;
    padding: 14px 16px !important;
    text-align: center;
  }

  .workflow-main {
    grid-template-columns: 1fr;
  }

  .flow-line {
    width: 2px;
    height: 30px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--line), var(--navy));
  }

  .process-flow {
    grid-template-columns: 1fr;
  }

  .process-flow::before {
    display: none;
  }

  .process-step {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .container,
  .nav {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    padding: 48px 0 64px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .hero-grid {
    gap: 36px;
  }

  .workflow-board,
  .contact-form,
  .about-panel {
    padding: 20px;
  }

  .dashboard-strip,
  .two-columns,
  .services-grid,
  .problems-grid,
  .feature-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    min-height: 112px;
  }

  .footer-grid {
    display: block;
  }

  .footer-grid > p {
    margin-top: 18px;
    text-align: left;
  }
}