:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #1c232c;
  --fg: #e6edf3;
  --muted: #8b949e;
  --border: #232b34;
  --teal: #1D9E75;
  --teal-soft: #5DCAA5;
  --grotesk: "Space Grotesk", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--fg); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; border-top: 1px solid var(--border); }
.eyebrow { font-family: var(--grotesk); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-soft); margin-bottom: 12px; }
h2 { font-family: var(--grotesk); font-weight: 700; font-size: 30px; color: #fff; margin-bottom: 14px; letter-spacing: -.01em; }
.lead-p { color: var(--muted); font-size: 17px; max-width: 680px; }

/* nav */
nav { position: sticky; top: 0; z-index: 20; background: rgba(13,17,23,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1000px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--grotesk); font-weight: 700; color: #fff; text-decoration: none; font-size: 17px; }
.nav-brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--teal-soft); }
.nav-links a.active { color: var(--teal-soft); }
.nav-name .nav-llc { font-weight: 400; color: #9aa6b2; }

/* hero (home) */
header.hero { text-align: center; padding: 90px 0 70px; }
.logo { display: inline-flex; align-items: center; gap: 18px; }
.logo svg { width: 66px; height: 66px; }
.logo .words { text-align: left; line-height: 1; }
.logo .name { font-family: var(--grotesk); font-weight: 700; font-size: 42px; color: #fff; }
.logo .kicker { font-family: var(--grotesk); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--teal-soft); margin-top: 8px; padding-left: 2px; }
.hero h1 { font-family: var(--grotesk); font-weight: 700; font-size: 38px; color: #fff; margin: 34px 0 14px; letter-spacing: -.02em; }
.hero p { color: var(--muted); font-size: 19px; max-width: 600px; margin: 0 auto; }
.cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.btn { font-family: var(--grotesk); font-weight: 500; font-size: 15px; text-decoration: none; padding: 12px 24px; border-radius: 10px; transition: transform .15s, background .15s, border-color .15s; }
.btn-primary { background: var(--teal); color: #04130d; }
.btn-primary:hover { background: var(--teal-soft); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--border); color: var(--fg); }
.btn-ghost:hover { border-color: var(--teal-soft); color: var(--teal-soft); transform: translateY(-2px); }

/* inner pages */
main { display: block; }
.page { padding-top: 54px; padding-bottom: 84px; }
.page-title { font-family: var(--grotesk); font-weight: 700; font-size: 34px; color: #fff; margin: 10px 0 16px; letter-spacing: -.02em; }

/* home overview cards */
.over-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 14px; }
.over-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px 26px; text-decoration: none; transition: transform .18s, border-color .18s, background .18s; }
.over-card:hover { transform: translateY(-4px); border-color: #2d3742; background: var(--surface-2); }
.over-card .ic { color: var(--teal-soft); margin-bottom: 16px; }
.over-card .ic svg { width: 30px; height: 30px; }
.over-card h3 { font-family: var(--grotesk); font-weight: 700; font-size: 20px; color: #fff; margin-bottom: 8px; }
.over-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.over-card .more { font-family: var(--grotesk); color: var(--teal-soft); font-size: 14px; margin-top: 18px; }
.over-card:hover .more { text-decoration: underline; }

/* contact CTA band */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto 26px; }

/* capability grid */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 34px; }
.cap { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px 22px 20px; }
.cap h3 { font-family: var(--grotesk); font-weight: 500; font-size: 17px; color: #fff; margin-bottom: 8px; }
.cap p { color: var(--muted); font-size: 14.5px; }
.cap .ic { color: var(--teal-soft); margin-bottom: 14px; display: block; }
.cap .ic svg { width: 26px; height: 26px; }

/* badge pill + platform chips */
.badge-pill { display: inline-block; font-family: var(--grotesk); font-size: 12px; letter-spacing: .05em; color: var(--teal-soft); background: rgba(29,158,117,.13); border: 1px solid rgba(29,158,117,.28); border-radius: 999px; padding: 5px 13px; margin-bottom: 16px; }
.chip-label { font-family: var(--grotesk); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 50px 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 13px; color: #c9d1d9; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; }

/* about: story + timeline */
.body-p { color: #c4ccd4; font-size: 16.5px; max-width: 720px; margin-top: 18px; }
.timeline { margin-top: 26px; border-left: 2px solid var(--border); padding-left: 24px; max-width: 740px; }
.tl-item { position: relative; padding-bottom: 24px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); border: 2px solid var(--bg); }
.tl-role { font-family: var(--grotesk); font-weight: 500; color: #fff; font-size: 16px; }
.tl-meta { color: var(--muted); font-size: 13px; margin: 3px 0 7px; }
.tl-item p { color: var(--muted); font-size: 14.5px; max-width: 660px; }

/* flagship feature / case-study block */
.feature { background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px; padding: 30px 30px 26px; margin-top: 20px; }
.feature .tag { display: inline-block; font-family: var(--grotesk); font-size: 12px; letter-spacing: .06em; color: var(--teal-soft); background: rgba(29,158,117,.13); border: 1px solid rgba(29,158,117,.25); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.feature h3 { font-family: var(--grotesk); font-weight: 700; font-size: 23px; color: #fff; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; max-width: 760px; margin-bottom: 12px; }
.feature .chips { margin-top: 18px; }

/* smart home services */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 34px; }
.svc { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; position: relative; }
.svc .step { font-family: var(--grotesk); font-size: 12px; color: var(--teal); letter-spacing: .1em; }
.svc h3 { font-family: var(--grotesk); font-weight: 500; font-size: 17px; color: #fff; margin: 6px 0 8px; }
.svc p { color: var(--muted); font-size: 14.5px; }
.works { margin-top: 46px; }
.works .label { font-family: var(--grotesk); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eco-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.eco { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 104px; height: 104px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; transition: border-color .18s, transform .18s; }
.eco:hover { border-color: #2d3742; transform: translateY(-2px); }
.eco img { width: 34px; height: 34px; filter: brightness(0) invert(.68); transition: filter .18s; }
.eco:hover img { filter: brightness(0) invert(1); }
.eco .wm { font-family: var(--grotesk); font-weight: 700; font-size: 18px; color: #c9d1d9; letter-spacing: .02em; }
.eco span.lbl { font-size: 12px; color: var(--muted); text-align: center; }

/* smart home: reframe + examples */
.subhead { font-family: var(--grotesk); font-weight: 500; font-size: 21px; color: #fff; margin: 50px 0 6px; }
.sub-note { color: var(--muted); font-size: 15px; margin-bottom: 22px; max-width: 640px; }
.reframe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; margin-top: 24px; }
.reframe { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.reframe h4 { font-family: var(--grotesk); font-weight: 500; font-size: 16px; color: var(--teal-soft); margin-bottom: 8px; }
.reframe p { color: var(--muted); font-size: 14.5px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px,1fr)); gap: 14px; }
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.mini-card .t { font-family: var(--grotesk); font-weight: 500; font-size: 15.5px; color: #fff; margin-bottom: 6px; }
.mini-card p { color: var(--muted); font-size: 14px; }
.real-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 16px; }
.real-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.real-card .badge { display: inline-block; font-family: var(--grotesk); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-soft); background: rgba(29,158,117,.13); border-radius: 999px; padding: 3px 11px; margin-bottom: 12px; }
.real-card .t { font-family: var(--grotesk); font-weight: 500; font-size: 16px; color: #fff; margin-bottom: 8px; }
.real-card p { color: var(--muted); font-size: 14.5px; }
.real-card .tech { margin-top: 12px; font-size: 12px; color: var(--teal-soft); letter-spacing: .02em; line-height: 1.5; }

/* stat band */
.stats-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 4px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 24px; min-width: 132px; }
.stat .num { font-family: var(--grotesk); font-weight: 700; font-size: 30px; color: #fff; line-height: 1; }
.stat .lbl { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* app cards */
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin-top: 34px; }
.app-card { display: flex; flex-direction: column; text-decoration: none; border-radius: 18px; padding: 28px 26px 24px; border: 1px solid transparent; transition: transform .18s, box-shadow .18s; position: relative; overflow: hidden; }
.app-card:hover { transform: translateY(-4px); }
.app-card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.app-card h3 { font-family: var(--grotesk); font-weight: 700; font-size: 24px; }
.app-card .arrow { font-size: 18px; opacity: .8; transition: transform .18s; }
.app-card:hover .arrow { transform: translate(3px,-3px); }
.app-card .lead { font-weight: 600; font-size: 14.5px; margin-bottom: 10px; }
.app-card .desc { font-size: 14.5px; line-height: 1.6; }
.app-card .pill { display: inline-block; margin-top: 16px; font-size: 12px; padding: 5px 13px; border-radius: 999px; }
.c-cancelled { background: #1d2129; border-color: #3a2230; box-shadow: 0 0 0 1px rgba(255,46,99,.08); }
.c-cancelled:hover { box-shadow: 0 14px 40px -12px rgba(255,46,99,.45); border-color: #FF2E63; }
.c-cancelled h3 { color: #FF2E63; }
.c-cancelled .arrow { color: #08D9D6; }
.c-cancelled .lead { color: #08D9D6; }
.c-cancelled .desc { color: #b9c2cc; }
.c-cancelled .pill { background: rgba(255,46,99,.14); color: #ff7ba1; }
.c-clear { background: #0f0b22; border-color: #241b46; box-shadow: 0 0 0 1px rgba(111,179,214,.08); }
.c-clear:hover { box-shadow: 0 14px 40px -12px rgba(111,179,214,.4); border-color: #6FB3D6; }
.c-clear h3 { color: #9ec9e6; }
.c-clear .arrow { color: #C9A8E0; }
.c-clear .lead { color: #C9A8E0; }
.c-clear .desc { color: #aeb6cf; }
.c-clear .pill { background: rgba(111,179,214,.14); color: #9ec9e6; }
.app-card .card-title { display: block; text-decoration: none; color: inherit; }
.app-card .card-title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; }
.card-cta .pill { margin-top: 0; }
.appstore { display: inline-block; line-height: 0; border-radius: 9px; position: relative; z-index: 2; transition: transform .18s, opacity .18s; }
.appstore:hover { opacity: .85; transform: translateY(-1px); }
.appstore img { display: block; height: 44px; width: auto; }
.c-yours { background: var(--surface); border: 1px dashed var(--border); display: flex; flex-direction: column; justify-content: center; }
.c-yours h3 { color: #fff; font-family: var(--grotesk); font-weight: 500; font-size: 19px; margin-bottom: 8px; }
.c-yours p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.c-yours .mini { font-family: var(--grotesk); color: var(--teal-soft); font-size: 14px; text-decoration: none; }

/* contact */
.contact-flex { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin-top: 28px; align-items: start; }
form { display: flex; flex-direction: column; gap: 14px; }
label { font-size: 13px; color: var(--muted); margin-bottom: -6px; }
input, textarea { font-family: inherit; font-size: 15px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; color: var(--fg); width: 100%; }
input:focus, textarea:focus { outline: none; border-color: var(--teal); }
textarea { resize: vertical; min-height: 130px; }
button[type=submit] { font-family: var(--grotesk); font-weight: 500; font-size: 15px; background: var(--teal); color: #04130d; border: none; border-radius: 10px; padding: 13px; cursor: pointer; transition: background .15s; }
button[type=submit]:hover { background: var(--teal-soft); }
#form-status { font-size: 14px; min-height: 20px; }
#form-status.ok { color: var(--teal-soft); }
#form-status.err { color: #f0a0a0; }
.hp { position: absolute; left: -9999px; }

footer { text-align: center; color: var(--muted); font-size: 13px; padding: 44px 0; border-top: 1px solid var(--border); }
footer .rule { width: 40px; height: 2px; background: var(--teal); border-radius: 2px; margin: 0 auto 22px; }
footer .social { display: inline-flex; color: var(--muted); margin-bottom: 16px; transition: color .15s; }
footer .social:hover { color: var(--teal-soft); }
footer .social svg { width: 22px; height: 22px; }

@media (max-width: 720px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 14px; }
  .logo { flex-direction: column; gap: 14px; }
  .logo .words { text-align: center; } .logo .kicker { padding-left: 0; }
  .contact-flex { grid-template-columns: 1fr; gap: 24px; }
  h2 { font-size: 26px; } .hero h1 { font-size: 30px; } .page-title { font-size: 28px; }
}

@media (max-width: 560px) {
  .nav-inner { flex-direction: column; gap: 12px; padding: 12px 16px; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 10px 16px; }
}
