:root {
  --bg: #f4eadb;
  --bg-alt: #f8f1e7;
  --ink: #16110f;
  --ink-soft: #5d514b;
  --ink-faint: #8f837c;
  --line: rgba(22, 17, 15, 0.12);
  --surface: rgba(255, 251, 245, 0.86);
  --surface-strong: #fffaf2;
  --panel-dark: #111111;
  --panel-dark-soft: #1b1a18;
  --lime: #c8ff61;
  --orange: #ff8c42;
  --sky: #8fd0ff;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 22px 60px rgba(28, 18, 13, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 108px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(200, 255, 97, 0.26), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(255, 140, 66, 0.14), transparent 22%),
    linear-gradient(180deg, #fbf4ea 0%, var(--bg) 40%, #f7efe3 100%);
}

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

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

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

.container {
  width: min(1180px, calc(100vw - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(248, 241, 231, 0.7);
  border-bottom: 1px solid rgba(22, 17, 15, 0.08);
}

.header-inner {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, var(--lime), #fff08c 40%, var(--orange) 100%);
  box-shadow: inset 0 0 0 2px rgba(17, 17, 17, 0.08);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink-soft);
}

.primary-nav a {
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.primary-nav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.primary-nav a.is-active {
  color: var(--ink);
}

.nav-cta {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(22, 17, 15, 0.14);
  background: rgba(255, 250, 242, 0.9);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.88);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
}

.hero {
  padding: 3.5rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
}

.announcement,
.status-pill,
.hero-points span,
.contact-notes span,
.smart-home-points span,
.proof-strip-inner span,
.integration-row span,
.product-tags span,
.product-meta span {
  border-radius: 999px;
  border: 1px solid rgba(22, 17, 15, 0.1);
}

.announcement {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.eyebrow,
.mini-label {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.eyebrow {
  color: var(--orange);
  font-size: 0.8rem;
}

.mini-label {
  color: var(--ink-faint);
  font-size: 0.72rem;
}

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

h1,
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  max-width: 11ch;
}

h3 {
  line-height: 1.15;
}

.subcopy,
.section-head p,
.solution-card p,
.platform-points p,
.step p,
.quote cite,
.faq-item p,
.footer-copy,
.footer-grid a,
.card-caption p,
.panel-copy,
.category-card p,
.contact-grid p,
.product-card p {
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.btn,
.filter-chip,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.filter-chip:hover,
.text-button:hover {
  transform: translateY(-2px);
}

.btn {
  min-height: 50px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  font-weight: 700;
}

.btn-primary {
  background: var(--ink);
  color: #f8f1e7;
  box-shadow: 0 14px 26px rgba(22, 17, 15, 0.2);
}

.btn-secondary {
  border-color: rgba(22, 17, 15, 0.14);
  background: rgba(255, 251, 245, 0.75);
}

.hero-points,
.contact-notes,
.smart-home-points,
.integration-row,
.product-tags,
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-points span,
.contact-notes span,
.smart-home-points span,
.integration-row span,
.product-tags span,
.product-meta span {
  padding: 0.45rem 0.7rem;
  background: rgba(255, 251, 245, 0.72);
  font-size: 0.9rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.7rem;
}

.hero-stats article,
.board-kpis article,
.analytics-grid article {
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.hero-stats article {
  background: rgba(255, 251, 245, 0.78);
  border: 1px solid rgba(22, 17, 15, 0.08);
}

.hero-stats strong,
.board-kpis strong,
.analytics-grid strong {
  display: block;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1;
}

.hero-stage {
  position: relative;
  min-height: 590px;
  perspective: 1200px;
}

.hero-stage-card,
.hero-floating,
.platform-board .board-shell,
.category-card,
.solution-card,
.step,
.quote,
.faq-item,
.contact-form,
.smart-home-panel,
.product-card {
  box-shadow: var(--shadow);
}

.gallery-card {
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: absolute;
  inset: 0 0 5.25rem 0;
  overflow: hidden;
  border-radius: 32px;
  background: #000;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: transform 0.35s ease;
  animation: drift-main 8s ease-in-out infinite;
  will-change: transform;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transform: scale(1.04);
  animation: image-pan 12s ease-in-out infinite alternate;
}

.card-caption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 249, 241, 0.86);
  backdrop-filter: blur(14px);
}

.hero-floating {
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: absolute;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.9);
  border: 1px solid rgba(22, 17, 15, 0.08);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: transform 0.35s ease;
  will-change: transform;
}

.deck-card {
  left: -1.2rem;
  bottom: 1rem;
  width: min(240px, 65%);
  animation: drift-card-left 7s ease-in-out infinite;
}

.analytics-card {
  top: 1.2rem;
  right: -0.9rem;
  width: min(250px, 68%);
  animation: drift-card-right 9s ease-in-out infinite;
}

@keyframes drift-main {
  0%,
  100% {
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  }

  50% {
    transform: translate3d(calc(var(--parallax-x) + 8px), calc(var(--parallax-y) - 10px), 0);
  }
}

@keyframes drift-card-left {
  0%,
  100% {
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  }

  50% {
    transform: translate3d(calc(var(--parallax-x) - 10px), calc(var(--parallax-y) - 12px), 0);
  }
}

@keyframes drift-card-right {
  0%,
  100% {
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  }

  50% {
    transform: translate3d(calc(var(--parallax-x) + 10px), calc(var(--parallax-y) + 8px), 0);
  }
}

@keyframes image-pan {
  0% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.09) translate3d(-10px, -8px, 0);
  }
}

.signal-list,
.board-list,
.panel-list {
  margin: 0;
  padding-left: 1.1rem;
}

.analytics-grid {
  display: grid;
  gap: 0.75rem;
}

.analytics-grid article {
  background: #fff8ec;
  border: 1px solid rgba(22, 17, 15, 0.08);
}

.proof-strip {
  padding-bottom: 1rem;
}

.proof-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.proof-strip-inner span {
  padding: 0.45rem 0.8rem;
  background: rgba(255, 251, 245, 0.66);
  color: var(--ink-soft);
}

.section {
  padding: 5rem 0;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(200, 255, 97, 0.12), transparent 24%),
    linear-gradient(180deg, #151412, #0f0f0e);
  color: #f8f1e7;
}

.section-dark .eyebrow,
.section-dark .mini-label {
  color: var(--lime);
}

.section-dark .section-head p,
.section-dark .subcopy,
.section-dark .solution-card p,
.section-dark .quote cite,
.section-dark #catalog-summary,
.section-dark .smart-home-copy p,
.section-dark .panel-copy,
.section-dark .product-card p,
.section-dark .product-meta span,
.section-dark .product-tags span {
  color: rgba(248, 241, 231, 0.72);
}

.tint {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.62), rgba(240, 228, 214, 0.4));
}

.section-head {
  margin-bottom: 1.8rem;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 1.5rem;
  align-items: end;
}

.category-grid,
.lead-grid,
.solution-grid,
.testimonials,
.faq-list,
.steps,
.board-panels,
.platform-points,
.product-grid {
  display: grid;
  gap: 1rem;
}

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

.lead-engine {
  padding-top: 2rem;
}

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

.lead-card {
  min-height: 100%;
  border-radius: 26px;
  border: 1px solid rgba(22, 17, 15, 0.08);
  background: rgba(255, 251, 245, 0.9);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.lead-card.is-dark {
  background: linear-gradient(180deg, #171614, #23201c);
  border-color: rgba(248, 241, 231, 0.12);
  color: #f8f1e7;
}

.lead-card.is-dark p,
.lead-card.is-dark .mini-label {
  color: rgba(248, 241, 231, 0.72);
}

.category-card {
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 251, 245, 0.9);
  border: 1px solid rgba(22, 17, 15, 0.08);
}

.category-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.category-card div {
  padding: 1.2rem;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.filter-chip {
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(248, 241, 231, 0.14);
  background: rgba(248, 241, 231, 0.06);
  color: #f8f1e7;
}

.filter-chip.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: #111111;
}

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

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(248, 241, 231, 0.12);
}

.product-card__image {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.product-card__body {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem;
}

.product-card__body h3 {
  font-size: 1.2rem;
}

.product-card__body p {
  margin-bottom: 0;
}

.product-meta,
.product-tags {
  font-size: 0.84rem;
}

.platform-grid,
.smart-home-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: start;
}

.platform-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.6rem;
}

.platform-points article,
.step,
.solution-card,
.quote,
.faq-item,
.contact-form,
.smart-home-panel {
  border-radius: 24px;
  border: 1px solid rgba(22, 17, 15, 0.08);
  background: rgba(255, 251, 245, 0.88);
  padding: 1.15rem;
}

.platform-board .board-shell {
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.95), rgba(245, 237, 227, 0.94));
  border: 1px solid rgba(22, 17, 15, 0.08);
  padding: 1.2rem;
}

.board-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.status-pill {
  padding: 0.45rem 0.7rem;
  background: rgba(200, 255, 97, 0.2);
  color: var(--ink);
  font-size: 0.84rem;
}

.board-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.board-kpis article {
  background: #fff9ee;
  border: 1px solid rgba(22, 17, 15, 0.08);
}

.board-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.board-panels article {
  border-radius: 20px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(22, 17, 15, 0.08);
}

.integration-row {
  margin-top: 1rem;
}

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

.step-index {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--orange);
  font-weight: 700;
}

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

.solution-card {
  min-height: 100%;
}

.accent-card {
  background: linear-gradient(180deg, #161616, #1f1e1b);
  color: #f8f1e7;
  border-color: rgba(248, 241, 231, 0.12);
}

.accent-card p {
  color: rgba(248, 241, 231, 0.72);
}

.smart-home-panel {
  overflow: hidden;
  padding: 0;
}

.smart-home-panel img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.panel-copy {
  padding: 1.15rem;
}

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

.quote {
  margin: 0;
}

.quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.8rem;
  margin-bottom: 0;
}

.cta-band {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
  border-radius: 32px;
  color: #f8f1e7;
  background:
    radial-gradient(circle at top left, rgba(200, 255, 97, 0.2), transparent 30%),
    linear-gradient(135deg, #111111, #24201a 55%, #44271c);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(22, 17, 15, 0.12);
  background: rgba(255, 255, 255, 0.84);
  padding: 0.82rem 0.9rem;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(200, 255, 97, 0.55);
  border-color: rgba(22, 17, 15, 0.18);
}

.site-footer {
  padding-top: 2.5rem;
  background: #efe3d5;
  border-top: 1px solid rgba(22, 17, 15, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 1.2rem;
}

.footer-grid h3 {
  margin-bottom: 0.55rem;
  font-size: 0.96rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.35rem;
}

.footer-bottom {
  margin-top: 1.8rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(22, 17, 15, 0.08);
  color: var(--ink-soft);
}

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

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

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

  .reveal,
  .btn,
  .filter-chip,
  .text-button,
  .primary-nav a,
  .gallery-card,
  .hero-floating,
  .gallery-card img {
    transition: none;
  }

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

  .gallery-card,
  .hero-floating,
  .gallery-card img {
    animation: none;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .platform-grid,
  .smart-home-grid,
  .contact-grid,
  .split-head,
  .lead-grid,
  .solution-grid,
  .platform-points,
  .board-panels,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-grid,
  .product-grid,
  .testimonials,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stage {
    min-height: 520px;
  }

  .hero-stats,
  .board-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.6rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 248, 238, 0.98);
    border: 1px solid rgba(22, 17, 15, 0.08);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
  }

  .primary-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .hero,
  .section {
    padding-top: 3.8rem;
    padding-bottom: 3.8rem;
  }

  .hero-grid,
  .platform-grid,
  .smart-home-grid,
  .contact-grid,
  .split-head,
  .platform-points,
  .lead-grid,
  .category-grid,
  .solution-grid,
  .steps,
  .product-grid,
  .testimonials,
  .footer-grid,
  .board-panels,
  .hero-stats,
  .board-kpis {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .gallery-card,
  .hero-floating {
    position: static;
    animation: none;
    transform: none;
  }

  .gallery-card {
    min-height: 420px;
  }

  .gallery-card img {
    animation: none;
    transform: scale(1.02);
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    max-width: 11ch;
  }

  h2 {
    max-width: 100%;
  }
}
