:root {
  --bg: #ffffff;
  --ink: #0a0d0b;
  --muted: #5f6762;
  --line: #dfe5df;
  --soft: #f6f9f5;
  --green: #55e600;
  --green-deep: #178600;
  --orange: #ff6a00;
  --shadow: 0 18px 60px rgba(10, 13, 11, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  font-size: 19px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #1f261f;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.contact-link,
.project-card:hover h3 {
  color: var(--green-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 7vh 5vw 5vh;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.92) 41%, rgba(255, 255, 255, 0.56) 62%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(circle at 78% 50%, rgba(85, 230, 0, 0.11), transparent 26%),
    #fff;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 9vw, 142px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero h1::after {
  content: ".";
  color: var(--green);
}

.hero-line {
  max-width: 740px;
  margin: 24px 0 0;
  font-size: clamp(28px, 3.4vw, 56px);
  font-weight: 850;
  line-height: 1.06;
}

.hero-line strong {
  color: var(--green-deep);
}

.hero-line em {
  color: var(--orange);
  font-style: normal;
}

.hero-text {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  font-weight: 800;
}

.button::after {
  content: "↗";
  margin-left: 12px;
  font-size: 16px;
}

.button.primary,
.button.compact {
  border-color: var(--green);
  background: var(--green);
  color: #061006;
}

.button.secondary {
  background: #fff;
}

.button.compact {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: 76px 5vw;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(280px, 0.55fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading h2,
.feature-copy h2,
.policy-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.feature-copy p,
.policy-hero p,
.policy-copy p,
.content-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(160px, 1fr));
  gap: 16px;
}

.project-card {
  min-height: 360px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(10, 13, 11, 0.09);
}

.project-card img,
.mock-listing {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
  border: 1px solid #edf1ed;
}

.project-card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
  line-height: 1.08;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.project-card.dark {
  background: #0a0d0b;
  color: #fff;
  border-color: #0a0d0b;
}

.project-card.dark p {
  color: #c6cec8;
}

.mock-listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px;
  background: linear-gradient(135deg, #f7faf6, #fff);
}

.mock-listing span {
  border-radius: 6px;
  background: linear-gradient(180deg, #d6c4a8, #f2e8d8);
  box-shadow: inset 0 -18px 0 rgba(255, 255, 255, 0.45);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(360px, 1.08fr) minmax(320px, 0.92fr);
  gap: 58px;
  align-items: center;
  margin: 24px 5vw 0;
  padding: 48px;
  border-radius: 8px;
  border: 1px solid #dbe8d9;
  background:
    linear-gradient(115deg, rgba(85, 230, 0, 0.08), rgba(255, 255, 255, 0.9) 52%, rgba(255, 106, 0, 0.08)),
    #f9fbf8;
}

.assistant-preview {
  display: grid;
  grid-template-columns: 128px 1fr;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 16px;
  border-right: 1px solid var(--line);
  background: #fbfdfb;
}

.preview-sidebar span {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.preview-sidebar .done::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green-deep);
}

.preview-sidebar .active {
  background: rgba(85, 230, 0, 0.16);
  color: var(--ink);
}

.preview-main {
  padding: 24px;
}

.preview-tabs,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-tabs span,
.tag-row span {
  padding: 8px 10px;
  border-radius: 8px;
  background: #f0f4ef;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.preview-tabs .active {
  background: rgba(85, 230, 0, 0.18);
  color: var(--green-deep);
}

.listing-preview {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  margin: 28px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.listing-photo {
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent),
    linear-gradient(180deg, #c8ad8c, #f1dfc4);
}

.listing-preview h3 {
  margin: 4px 0 10px;
  font-size: 20px;
}

.listing-preview ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--muted);
}

.principles {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.principles div {
  padding-left: 18px;
  border-left: 4px solid var(--green);
}

.principles strong,
.principles span {
  display: block;
}

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

.capability-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  padding-top: 28px;
  border-top: 2px solid var(--green);
}

.capability-grid div {
  min-height: 150px;
  padding: 20px 0;
}

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

.capability-grid strong {
  margin-bottom: 12px;
  font-size: 17px;
}

.capability-grid span {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 48px;
  padding: 46px 5vw 56px;
  border-top: 1px solid var(--line);
  background: #fbfdfb;
}

.footer p {
  max-width: 420px;
  color: var(--muted);
}

.footer h2 {
  margin: 0 0 14px;
  font-size: 15px;
}

.footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: var(--muted);
}

.footer .contact-link {
  color: var(--green-deep);
  font-weight: 800;
}

.policy-page {
  padding: 76px 5vw 96px;
}

.policy-hero {
  max-width: 940px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.policy-hero p {
  max-width: 760px;
  margin-top: 24px;
  font-size: 21px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.content-grid article,
.policy-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.content-grid h2,
.policy-copy h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.content-grid p + p,
.policy-copy p + h2 {
  margin-top: 24px;
}

.policy-copy {
  max-width: 900px;
  margin-top: 44px;
}

.policy-copy a {
  color: var(--green-deep);
  font-weight: 800;
}

@media (max-width: 1180px) {
  .project-grid,
  .capability-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .hero-media {
    min-height: 420px;
  }
}

@media (max-width: 800px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  .nav-links {
    width: 100%;
    gap: 16px;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 4px;
  }

  .hero,
  .section,
  .policy-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-top: 54px;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
  }

  .hero-copy,
  .feature-copy,
  .preview-main,
  .listing-preview > div,
  .policy-page {
    min-width: 0;
  }

  .hero-copy {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

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

  .hero-line {
    font-size: 26px;
    max-width: 100%;
  }

  .hero-text {
    font-size: 17px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-media {
    min-height: 300px;
  }

  .section-heading,
  .feature-band,
  .content-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .feature-band {
    margin-left: 20px;
    margin-right: 20px;
    padding: 24px;
  }

  .assistant-preview,
  .listing-preview {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

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