@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@500;600;700&display=swap');

:root {
  --paper: #f4f2ec;
  --ink: #171916;
  --muted: #676a62;
  --line: #d9d7d0;
  --accent: #55715d;
  --accent-soft: #dfe7df;
  --dark: #1d241e;
  --white: #fff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  width: min(calc(100% - 48px), var(--max));
  height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  position: relative;
  display: inline-block;
}

.brand-mark span {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid var(--ink);
  transform: rotate(45deg);
  border-radius: 2px;
}

.brand-mark span:first-child {
  left: 1px;
  top: 5px;
}

.brand-mark span:last-child {
  right: 1px;
  top: 5px;
}

.site-header nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--muted);
}

.site-header nav a,
.text-link {
  transition: color 150ms ease;
}

.site-header nav a:hover,
.text-link:hover {
  color: var(--ink);
}

.header-cta {
  justify-self: end;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}

.hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 86px;
  padding: 84px 0 92px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 700;
}

.hero h1,
.section h2,
.contact h2 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.055em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 5.5vw, 76px);
  line-height: .98;
  font-weight: 600;
  max-width: 760px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-lede {
  margin: 30px 0 0;
  max-width: 590px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--dark);
  color: var(--white);
}

.text-link {
  font-size: 14px;
  font-weight: 600;
}

.text-link span {
  padding-left: 5px;
}

.hero-panel {
  background: #e9ebe5;
  border: 1px solid #d5d9d0;
  padding: 22px;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(27, 36, 29, .06);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status i {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #63806d;
}

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

.system-grid article {
  min-height: 155px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(26,30,27,.07);
  border-radius: 6px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.system-grid article > span {
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
}

.system-grid article strong {
  margin-top: 3px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
}

.system-icon {
  width: 34px;
  height: 34px;
  border: 1.5px solid #738075;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #56675b;
  font: 600 18px/1 "Manrope", sans-serif;
}

.system-icon.camera {
  border-radius: 7px;
  position: relative;
}

.system-icon.camera::after {
  content: "";
  width: 9px;
  height: 9px;
  border: 1.5px solid #738075;
  border-radius: 50%;
}

.system-icon.wifi {
  border: 0;
  border-radius: 0;
  position: relative;
}

.system-icon.wifi::before,
.system-icon.wifi::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1.5px solid #738075;
  border-top-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
}

.system-icon.wifi::before {
  width: 30px;
  height: 30px;
  top: -2px;
}

.system-icon.wifi::after {
  width: 17px;
  height: 17px;
  top: 7px;
}

.system-icon.doorbell {
  width: 24px;
  height: 36px;
  border-radius: 10px;
  position: relative;
}

.system-icon.doorbell::after {
  content: "";
  width: 5px;
  height: 5px;
  background: #738075;
  border-radius: 50%;
  position: absolute;
  left: 8px;
  bottom: 6px;
}

.panel-note {
  margin: 18px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 8vw, 110px);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 118px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  align-items: end;
  margin-bottom: 68px;
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
}

.section-intro h2,
.about h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 55px);
  line-height: 1.06;
  font-weight: 600;
}

.section-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 480px;
  justify-self: end;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 210px;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.service-number {
  color: var(--muted);
  font: 500 12px/1 "Manrope", sans-serif;
}

.service-card h3,
.steps h3 {
  margin: 0 0 8px;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  letter-spacing: -.03em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.6;
  font-size: 14px;
}

.service-tag {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
}

.process {
  border-top: 1px solid var(--line);
}

.section-intro.compact {
  display: block;
  max-width: 720px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 70px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.steps li {
  padding: 24px 30px 0 0;
  min-height: 220px;
  border-right: 1px solid var(--line);
}

.steps li:not(:first-child) {
  padding-left: 30px;
}

.steps li:last-child {
  border-right: 0;
}

.steps li > span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 11px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.about {
  padding-top: 36px;
}

.about-card {
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 72px;
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 95px;
}

.about-copy {
  align-self: end;
}

.about-copy p {
  margin: 0;
  color: #4e5951;
  font-size: 15px;
  line-height: 1.75;
}

.about-copy p + p {
  margin-top: 22px;
}

.contact {
  background: var(--dark);
  color: white;
  padding: 105px max(24px, calc((100vw - var(--max)) / 2));
  text-align: center;
}

.contact .eyebrow {
  color: #9fb2a2;
}

.contact h2 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.04;
  font-weight: 600;
}

.contact > p:not(.eyebrow) {
  max-width: 600px;
  margin: 25px auto 34px;
  color: #b9c2ba;
  font-size: 16px;
  line-height: 1.65;
}

.button-light {
  background: #f4f2ec;
  color: var(--dark);
}

footer {
  width: min(calc(100% - 48px), var(--max));
  min-height: 132px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 46px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-top: 70px;
  }

  .hero-copy {
    max-width: 690px;
  }

  .hero-panel {
    max-width: 620px;
  }

  .trust-strip {
    flex-wrap: wrap;
    padding: 22px 24px;
    gap: 18px 40px;
  }

  .section-intro,
  .about-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-intro > p:last-child {
    justify-self: start;
  }

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

  .steps li:nth-child(2) {
    border-right: 0;
  }

  .steps li:nth-child(n+3) {
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }

  .steps li:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  footer {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    height: 76px;
  }

  .header-cta {
    font-size: 12px;
  }

  .hero {
    min-height: 0;
    padding: 64px 0 70px;
  }

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

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

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

  .system-grid article {
    min-height: 125px;
  }

  .trust-strip {
    justify-content: flex-start;
  }

  .section {
    padding: 82px 0;
  }

  .section-intro {
    margin-bottom: 48px;
  }

  .service-card {
    grid-template-columns: 38px 1fr;
    padding: 24px 0;
    gap: 8px 14px;
  }

  .service-tag {
    grid-column: 2;
    justify-self: start;
    margin-top: 8px;
  }

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

  .steps li,
  .steps li:not(:first-child) {
    padding: 24px 0;
    min-height: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .steps li:first-child {
    border-top: 0;
  }

  .steps li > span {
    margin-bottom: 24px;
  }

  .about {
    padding-top: 20px;
  }

  .about-card {
    padding: 42px 28px;
  }

  .contact {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 30px 0;
  }

  footer p {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
