/* ==========================================================================
   Nivas — local-first home automation, Mumbai
   Zero external requests: system fonts, inline SVG, no trackers.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --paper: #f5f0e6;
  --paper-2: #ede6d7;
  --sand: #e5d6bf;
  --ink: #101613;
  --ink-2: #1a231e;
  --muted: #5a665e;
  --forest: #123c31;
  --forest-ink: #123c31;
  --forest-deep: #092a22;
  --forest-soft: #1d4c3e;
  --clay: #a84622;
  --clay-deep: #9d3f20;
  --gold: #d5a24d;
  --lime: #d7e8b8;
  --cream: #f7f2e8;
  --line: rgba(16, 22, 19, 0.12);
  --line-strong: rgba(16, 22, 19, 0.24);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1200px;
  --radius: 22px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
::selection {
  background: var(--clay);
  color: var(--cream);
}
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}
[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
}

/* ---------- helpers ---------- */
.wrap {
  width: min(var(--wrap), 100% - 56px);
  margin-inline: auto;
}
.wrap--narrow {
  width: min(860px, 100% - 56px);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 300;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip:focus {
  top: 16px;
}
.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon--fill {
  fill: currentColor;
  stroke: none;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 650 10.5px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}
.kicker--light {
  color: var(--gold);
}
.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 54ch;
}
.lede--light {
  color: #aebcb2;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font: 600 13.5px/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.25s var(--ease);
}
.btn:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(9, 42, 34, 0.9);
}
.btn:hover .icon {
  transform: translateX(3px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: rgba(16, 22, 19, 0.04);
  box-shadow: none;
}
.btn--light {
  background: var(--cream);
  color: var(--ink);
}
.btn--light:hover {
  background: #fff;
}
.btn--outline-light {
  background: transparent;
  border-color: rgba(247, 242, 232, 0.4);
  color: var(--cream);
}
.btn--outline-light:hover {
  background: rgba(247, 242, 232, 0.1);
  box-shadow: none;
}
.btn--sm {
  padding: 11px 17px;
  font-size: 12.5px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 13.5px/1 var(--sans);
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s, border-color 0.2s;
}
.text-link .icon {
  width: 15px;
  height: 15px;
}
.text-link:hover {
  color: var(--clay);
  border-color: var(--clay);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  padding: 12px 0;
  background: rgba(245, 240, 230, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand__mark {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  flex: none;
}
.brand__word {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.04em;
  padding-left: 1px;
}
.brand__word::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--clay);
  vertical-align: 3px;
}
.theme-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--forest-ink);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.theme-toggle:hover {
  border-color: var(--forest-ink);
  background: rgba(18, 60, 49, 0.06);
}
.theme-toggle .icon {
  width: 15px;
  height: 15px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  font: 550 12.5px/1 var(--sans);
  letter-spacing: 0.01em;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--ink);
}
.header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 69px 0 0;
  z-index: 99;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 10px 28px 28px;
  max-height: calc(100vh - 69px);
  overflow-y: auto;
}
.mobile-menu.is-open {
  display: block;
  overflow-y: auto;
}
.mobile-menu a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.02em;
}
.mobile-menu .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  padding: 15px 22px;
  border-bottom: 0;
  border-radius: 999px;
  font: 600 14px/1 var(--sans);
  color: var(--cream);
  text-align: center;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(120px, 17vh, 178px) 0 clamp(70px, 9vw, 110px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(18, 60, 49, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(18, 60, 49, 0.055) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(to bottom, #000 5%, transparent 72%);
  mask-image: linear-gradient(to bottom, #000 5%, transparent 72%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 650 10.5px/1 var(--sans);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px rgba(191, 85, 48, 0.12);
}
.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(2.4rem, 6.2vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.048em;
}
.hero h1 em {
  display: block;
  font-style: italic;
  color: var(--clay);
  letter-spacing: -0.052em;
}
.hero__sub {
  margin-top: 28px;
  max-width: 44ch;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.62;
  color: var(--muted);
}
.hero__sub strong {
  color: var(--ink);
  font-weight: 600;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.hero__proof li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.hero__proof .icon {
  width: 14px;
  height: 14px;
  color: var(--forest-ink);
}

/* hero scene */
.hero__visual {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero__sun {
  position: absolute;
  z-index: -2;
  width: 470px;
  height: 470px;
  right: -30px;
  top: -10px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 28%,
    #f6d9a5 0%,
    #e7b072 38%,
    #cb6b40 72%,
    #b8512d 100%
  );
  opacity: 0.9;
}
.hero__sun::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 58%,
    rgba(245, 240, 230, 0.55) 59%,
    transparent 60.5%
  );
}
.hero__arch {
  position: absolute;
  z-index: -1;
  width: 470px;
  height: 650px;
  bottom: 8px;
  border: 1px solid rgba(18, 60, 49, 0.26);
  border-radius: 235px 235px 0 0;
}
.hero__arch::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(18, 60, 49, 0.09);
  border-radius: inherit;
}
.hero__skyline {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -18px;
  width: 118%;
  transform: translateX(-50%);
  color: var(--forest-ink);
  opacity: 0.12;
  pointer-events: none;
}
.hero__scroll {
  position: absolute;
  left: 0;
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  font: 650 9px/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--line-strong);
}

/* floating cards */
.float-card {
  position: absolute;
  z-index: 4;
  width: 232px;
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(250, 246, 238, 0.94);
  border: 1px solid rgba(16, 22, 19, 0.1);
  box-shadow: 0 22px 45px -24px rgba(9, 42, 34, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: bob 7s ease-in-out infinite;
}
.float-card--ai {
  left: -42px;
  top: -34px;
}
.float-card--status {
  right: -34px;
  bottom: 62px;
  animation-delay: -3.2s;
}
.float-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}
.float-card__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 650 8.5px/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay);
}
.float-card__label .icon {
  width: 12px;
  height: 12px;
}
.float-card__time {
  font: 500 9px/1 var(--mono);
  color: #5f6c63;
}
.float-card p {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink);
}
.float-card p b {
  font-weight: 650;
}
.float-card--status .float-card__label {
  color: var(--forest-ink);
}
.float-card__rows {
  display: grid;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}
.float-card__rows span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.float-card__rows .icon {
  width: 12px;
  height: 12px;
  color: var(--forest-ink);
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ---------- phone / app UI ---------- */
.phone {
  --pw: 306px;
  position: relative;
  z-index: 3;
  width: var(--pw);
  padding: 9px;
  border-radius: 48px;
  background: linear-gradient(155deg, #3b443f 0%, #0b100e 32%, #202923 100%);
  box-shadow: 0 55px 90px -34px rgba(6, 25, 19, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: rotate(-2.6deg);
}
.hero .phone {
  transform: rotate(-2.6deg);
  animation: phone-in 1s var(--ease) both;
}
@keyframes phone-in {
  from {
    opacity: 0;
    transform: translateY(26px) rotate(-4.2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-2.6deg);
  }
}
.phone::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 49px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  pointer-events: none;
}
.phone__screen {
  position: relative;
  height: calc(var(--pw) * 1.98);
  border-radius: 40px;
  overflow: hidden;
  background: #0d1411;
  color: #eef2ec;
  isolation: isolate;
}
.phone__screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      120% 60% at 80% 0%,
      rgba(191, 85, 48, 0.16),
      transparent 62%
    ),
    radial-gradient(90% 50% at 10% 100%, rgba(215, 232, 184, 0.08), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 20px 0 24px;
  font: 600 10.5px/1 var(--sans);
  color: #d9e2db;
  flex: none;
}
.statusbar__icons {
  display: flex;
  align-items: center;
  gap: 5px;
}
.statusbar__icons .icon {
  width: 13px;
  height: 13px;
}
.battery {
  width: 18px;
  height: 9px;
  border: 1px solid rgba(217, 226, 219, 0.7);
  border-radius: 3px;
  position: relative;
}
.battery::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  right: 4px;
  background: #d9e2db;
  border-radius: 1px;
}
.island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 23px;
  background: #000;
  border-radius: 999px;
  z-index: 6;
}
.app-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 0 0 8px;
}
.app {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 4px 15px 0;
}
.app__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 2px 14px;
}
.app__eyebrow {
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fa198;
  margin-bottom: 7px;
}
.app__title {
  font-family: var(--serif);
  font-size: clamp(20px, calc(var(--pw) * 0.086), 26px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #f2f5f0;
}
.app__title em {
  font-style: italic;
  color: var(--lime);
}
.app__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(215, 232, 184, 0.14);
  border: 1px solid rgba(215, 232, 184, 0.2);
  font: 600 10px/1 var(--sans);
  color: var(--lime);
  flex: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(215, 232, 184, 0.12);
  color: var(--lime);
  border: 1px solid rgba(215, 232, 184, 0.18);
}
.pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.avatar {
  position: relative;
}
.avatar__live {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid #16251e;
}
.ha-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 2px 0;
  flex: none;
}
.ha-topbar__title span {
  display: block;
  margin-bottom: 3px;
  font: 650 6px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fa198;
}
.ha-topbar__title strong {
  display: block;
  font: 600 15px/1 var(--sans);
  letter-spacing: -0.02em;
  color: #f2f5f0;
}
.ha-topbar__actions {
  display: flex;
  gap: 5px;
}
.ha-icon-btn {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #c8d6cd;
}
.ha-icon-btn .icon {
  width: 12px;
  height: 12px;
}
.ha-chips {
  display: flex;
  gap: 5px;
  padding: 6px 2px 7px;
  flex: none;
  overflow: hidden;
}
.ha-chip {
  flex: none;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #9aac9f;
  font: 600 7px/1 var(--sans);
  white-space: nowrap;
}
.ha-chip.is-on {
  background: var(--lime);
  border-color: var(--lime);
  color: #0d1714;
}
.ha-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(215, 232, 184, 0.12);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(30, 65, 51, 0.8), rgba(15, 28, 23, 0.9));
}
.ha-label {
  display: block;
  margin-bottom: 3px;
  font: 650 6.5px/1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8fa198;
}
.ha-hero strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 600 10.5px/1.2 var(--sans);
  color: #f0f4ee;
}
.ha-sync {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font: 500 7px/1 var(--sans);
  color: #91a698;
}
.ha-sync i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}
.ha-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.ha-tile {
  display: flex;
  flex-direction: column;
  min-height: 68px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.042);
}
.ha-tile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
}
.ha-tile__icon {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: #cfdcd3;
}
.ha-tile__icon .icon {
  width: 11px;
  height: 11px;
}
.ha-tile--light .ha-tile__icon {
  color: #f6d9a5;
  background: rgba(246, 217, 165, 0.1);
}
.ha-tile--light.is-on .ha-tile__icon {
  box-shadow: 0 0 12px rgba(246, 217, 165, 0.18);
}
.ha-tile--climate .ha-tile__icon {
  color: #a9d3e6;
  background: rgba(169, 211, 230, 0.09);
}
.ha-tile--cover .ha-tile__icon {
  color: #d7e8b8;
}
.ha-tile--media .ha-tile__icon {
  color: #e9a17c;
  background: rgba(233, 161, 124, 0.1);
}
.ha-tile strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 600 8.5px/1.2 var(--sans);
  color: #edf2ec;
}
.ha-tile__state {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
  font: 500 7px/1.2 var(--sans);
  color: #91a398;
}
.ha-state {
  font: 650 6.2px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7e8b8;
}
.ha-toggle {
  position: relative;
  flex: none;
  width: 20px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.2s;
}
.ha-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c7d4cc;
  transition: transform 0.2s, background 0.2s;
}
.ha-tile.is-on .ha-toggle {
  background: #4c8dff;
}
.ha-tile.is-on .ha-toggle::after {
  transform: translateX(9px);
  background: #fff;
}
.ha-tile.is-on .ha-toggle {
  background: #4c8dff;
}
.ha-slider {
  display: block;
  height: 3px;
  margin-top: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.ha-slider i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #4c8dff;
}
.ha-tile--light .ha-slider i {
  background: #f6d9a5;
}
.ha-slider--cover i {
  background: #d7e8b8;
}
.ha-slider--media i {
  background: #e9a17c;
}
.ha-log {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.ha-log__dot {
  width: 5px;
  height: 5px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(215, 232, 184, 0.08);
  flex: none;
}
.ha-log .activity__text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.app-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid rgba(215, 232, 184, 0.14);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(30, 65, 51, 0.9), rgba(15, 28, 23, 0.9));
  position: relative;
  overflow: hidden;
}
.app-hero::after {
  content: "";
  position: absolute;
  right: -25px;
  top: -35px;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 232, 184, 0.16), transparent 68%);
  pointer-events: none;
}
.app-hero__ring {
  position: relative;
  flex: none;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  background: conic-gradient(from 220deg, var(--lime) 0 64%, rgba(247, 242, 232, 0.13) 64% 100%);
  font: 600 16px/1 var(--serif);
  color: #f4f5ed;
}
.app-hero__ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #172b22;
}
.app-hero__ring span,
.app-hero__ring small {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
}
.app-hero__ring small {
  margin-top: 2px;
  font: 500 6.5px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ab0a2;
}
.app-hero__copy {
  min-width: 0;
}
.app-hero__label {
  display: block;
  margin-bottom: 4px;
  font: 650 6.8px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fa198;
}
.app-hero__copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 600 12.5px/1.25 var(--sans);
  color: #f0f4ee;
}
.app-hero__sync {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  font: 500 7.5px/1 var(--sans);
  letter-spacing: 0.04em;
  color: #93a99b;
}
.app-hero__sync i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(215, 232, 184, 0.08);
}
.app-security {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}
.app-security__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(215, 232, 184, 0.08);
  animation: security-pulse 2.6s ease-in-out infinite;
}
.app-security.is-open .app-security__dot {
  background: var(--clay);
  box-shadow: 0 0 0 4px rgba(224, 138, 95, 0.1);
}
.app-security strong,
.app-security span:not(.pill) {
  display: block;
}
.app-security strong {
  font: 600 9.5px/1.2 var(--sans);
  color: #edf2ec;
}
.app-security span:not(.pill) {
  margin-top: 2px;
  font: 400 8px/1.3 var(--sans);
  color: #91a398;
}
.app-security .pill {
  padding: 4px 7px;
  font-size: 6.5px;
}
.app-notify {
  position: absolute;
  z-index: 9;
  top: 77px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(215, 232, 184, 0.18);
  border-radius: 13px;
  background: rgba(12, 27, 21, 0.96);
  box-shadow: 0 12px 25px -14px #000;
  animation: phone-notify-in 0.35s var(--ease) both;
}
.app-notify[hidden] {
  display: none;
}
.app-notify__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--clay);
  color: var(--cream);
}
.app-notify__icon .icon {
  width: 13px;
  height: 13px;
}
.app-notify strong,
.app-notify span:not(.app-notify__icon):not(.app-notify__dot) {
  display: block;
}
.app-notify strong {
  font: 600 9.5px/1.2 var(--sans);
  color: #f3f6f0;
}
.app-notify span:not(.app-notify__icon):not(.app-notify__dot) {
  margin-top: 2px;
  font: 400 8px/1.2 var(--sans);
  color: #9caf9f;
}
.app-notify__dot {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}
@keyframes security-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1); }
}
@keyframes phone-notify-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.room__bar {
  display: block;
  height: 3px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.room__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
}
.room--warm .room__bar i {
  background: #e9a17c;
}
.app-activity {
  padding: 7px 8px;
}
.app-activity .activity__label {
  margin-bottom: 2px;
}
.ha-log .activity__text {
  -webkit-line-clamp: 1;
}
.ui-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 17px;
  padding: 12px;
}
.ui-card--hero {
  background: linear-gradient(145deg, #1e4133 0%, #16251e 95%);
  border-color: rgba(215, 232, 184, 0.16);
}
.ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ui-label {
  font: 650 7.5px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fa198;
}
.ui-value {
  font: 500 11px/1.3 var(--sans);
  color: #dfe7e1;
}
.ui-title {
  font: 600 12px/1.3 var(--sans);
  color: #eef2ec;
}
.ui-sub {
  font: 400 9.5px/1.4 var(--sans);
  color: #93a49a;
}
.ui-big {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.ui-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(215, 232, 184, 0.1);
  color: var(--lime);
  flex: none;
}
.ui-icon .icon {
  width: 16px;
  height: 16px;
}
.ui-icon--clay {
  background: rgba(224, 138, 95, 0.14);
  color: #e9a17c;
}
.ui-toggle {
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: rgba(215, 232, 184, 0.85);
  position: relative;
  flex: none;
}
.ui-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #123c31;
}
.scenes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 3px 5px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font: 550 7.5px/1 var(--sans);
  color: #b9c7be;
  text-align: center;
}
.scene .icon {
  width: 14px;
  height: 14px;
  color: #cfdcd3;
}
.scene.is-on {
  background: rgba(215, 232, 184, 0.14);
  border-color: rgba(215, 232, 184, 0.28);
  color: var(--lime);
}
.scene.is-on .icon {
  color: var(--lime);
}
.room-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.room {
  padding: 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.room__name {
  font: 600 9px/1.2 var(--sans);
  color: #e8eee9;
}
.room__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font: 500 8px/1 var(--sans);
  color: #93a49a;
}
.room__meta .icon {
  width: 10px;
  height: 10px;
}
.room--warm {
  background: linear-gradient(150deg, rgba(224, 138, 95, 0.17), rgba(255, 255, 255, 0.03));
  border-color: rgba(224, 138, 95, 0.18);
}
.room--warm .room__meta .icon {
  color: #efb18e;
}
.activity {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.activity__thumb {
  width: 42px;
  height: 50px;
  border-radius: 9px;
  flex: none;
  background: linear-gradient(155deg, #db9a66 0%, #7c4b3f 42%, #243b33 100%);
  position: relative;
  overflow: hidden;
}
.activity__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 60% 36%,
    rgba(255, 240, 215, 0.5) 0 7%,
    transparent 8%
  );
}
.activity__label {
  font: 650 7px/1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #e9a17c;
  margin-bottom: 4px;
}
.activity__text {
  font: 400 9.5px/1.4 var(--sans);
  color: #c9d5cc;
}
.activity__text b {
  color: #f0f4ef;
  font-weight: 600;
}
.ha-energy {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}
.ha-energy > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 58px;
}
.ha-energy .ha-label {
  margin: 0;
}
.ha-energy strong {
  font: 600 12px/1 var(--sans);
  color: #edf2ec;
}
.ha-energy strong small {
  font: 500 7px/1 var(--sans);
  color: #91a398;
}
.ha-energy__delta {
  font: 600 7px/1 var(--sans);
  color: var(--lime);
}
.ha-energy__bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
  margin-left: auto;
}
.ha-energy__bars i {
  width: 4px;
  border-radius: 2px;
  background: rgba(215, 232, 184, 0.5);
}
.ha-energy__bars i:nth-child(1) { height: 7px; }
.ha-energy__bars i:nth-child(2) { height: 11px; }
.ha-energy__bars i:nth-child(3) { height: 9px; }
.ha-energy__bars i:nth-child(4) { height: 15px; }
.ha-energy__bars i:nth-child(5) { height: 12px; }
.ha-energy__bars i:nth-child(6) { height: 17px; }
.ha-energy__bars i:nth-child(7) { height: 20px; background: var(--lime); }
.app-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 7px 14px 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
  flex: none;
}
.app-nav span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font: 550 6px/1 var(--sans);
  letter-spacing: 0.02em;
  color: #6f8177;
  white-space: nowrap;
}
.app-nav .icon {
  width: 15px;
  height: 15px;
}
.app-nav .is-on {
  color: var(--lime);
}
.cam-list {
  display: grid;
  gap: 7px;
}
.cam {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.cam__img {
  width: 44px;
  height: 38px;
  border-radius: 8px;
  flex: none;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #384b42, #16221c);
}
.cam__img::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 0;
  height: 16px;
  background: linear-gradient(180deg, #53645a, #2a3831);
  clip-path: polygon(0 100%, 0 55%, 28% 40%, 44% 55%, 60% 20%, 100% 45%, 100% 100%);
  opacity: 0.8;
}
.cam__img--warm {
  background: linear-gradient(160deg, #d6a06f, #6a4437 60%, #242f28);
}
.cam__body {
  min-width: 0;
  flex: 1;
}
.cam__name {
  font: 600 9px/1.2 var(--sans);
  color: #eef2ec;
}
.cam__desc {
  font: 400 8px/1.35 var(--sans);
  color: #93a49a;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cam__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7fd6a5;
  flex: none;
}
.lock-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 13px;
  background: rgba(215, 232, 184, 0.08);
  border: 1px solid rgba(215, 232, 184, 0.16);
}
.lock-row .icon {
  width: 16px;
  height: 16px;
  color: var(--lime);
}
.lock-row .ui-title {
  font-size: 10px;
}
.lock-row .ui-sub {
  font-size: 8px;
}
.thermo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 2px 2px;
}
.dial {
  --p: 68%;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  flex: none;
  background: conic-gradient(
    var(--lime) calc(var(--p) * 1%),
    rgba(255, 255, 255, 0.08) 0
  );
  display: grid;
  place-items: center;
  position: relative;
}
.dial::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #14201a;
}
.dial__inner {
  position: relative;
  text-align: center;
}
.dial__num {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.dial__num sup {
  font-size: 12px;
  vertical-align: super;
}
.dial__label {
  font: 600 6.5px/1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8fa198;
  margin-top: 4px;
}
.thermo__meta {
  flex: 1;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 74px;
  padding-top: 8px;
}
.bar {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: rgba(215, 232, 184, 0.22);
  height: var(--h);
  position: relative;
}
.bar.is-peak {
  background: var(--lime);
}
.bar span {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font: 500 6px/1 var(--sans);
  color: #74877c;
}
.chart-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}
.chart-legend div {
  font: 600 8px/1.2 var(--sans);
  color: #93a49a;
}
.chart-legend b {
  display: block;
  font: 500 13px/1.2 var(--sans);
  color: #eef2ec;
  margin-bottom: 2px;
}

.ha-note {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(18, 60, 49, 0.14);
}
.ha-note__label {
  flex: none;
  padding: 5px 8px;
  border: 1px solid rgba(18, 60, 49, 0.22);
  border-radius: 999px;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-ink);
}
.ha-note p {
  max-width: 90ch;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #5f6b63;
}
.ha-note strong {
  color: var(--forest-ink);
}

/* ---------- manifesto ---------- */
.manifesto {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
  padding: clamp(64px, 8vw, 96px) 0;
}
.manifesto__grid {
  display: grid;
  grid-template-columns: 0.32fr 1.1fr 0.58fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.manifesto__label {
  font: 650 10px/1.5 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  padding-top: 10px;
}
.manifesto blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
}
.manifesto blockquote em {
  font-style: italic;
  color: var(--clay);
}
.manifesto__aside {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
  padding-left: 24px;
  border-left: 1px solid var(--line-strong);
  margin-top: 8px;
}

/* ---------- sections ---------- */
.section {
  padding: clamp(78px, 10vw, 128px) 0;
}
.section--tight {
  padding: clamp(58px, 7vw, 84px) 0;
}
.section--paper2 {
  background: var(--paper-2);
}
.section--sand {
  background: var(--sand);
}
.section--dark {
  background: var(--forest-deep);
  color: var(--cream);
}
.section--ink {
  background: var(--ink);
  color: var(--cream);
}
.section__head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 62px);
}
.section__head h2 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 0.99;
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.section__head .lede {
  max-width: 44ch;
  padding-bottom: 6px;
}
.section__head--stack {
  grid-template-columns: 1fr;
}
.section__head--stack .lede {
  max-width: 56ch;
}
.section--dark .section__head h2 {
  color: var(--cream);
}
.section--dark .kicker {
  color: var(--gold);
}

/* ---------- one app ---------- */
.app-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.app-grid > * {
  min-width: 0;
}
.tabs {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  border-top: 1px solid var(--line);
}
.tab {
  display: grid;
  grid-template-columns: 34px 1fr 20px;
  gap: 14px;
  align-items: start;
  width: 100%;
  padding: 20px 6px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.25s var(--ease), padding 0.25s var(--ease);
}
.tab:hover {
  background: rgba(191, 85, 48, 0.035);
}
.tab__num {
  font: 500 10px/1 var(--mono);
  color: var(--clay);
  padding-top: 6px;
}
.tab__title {
  display: block;
  font-family: var(--serif);
  font-size: 1.48rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.2s;
}
.tab__desc {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 44ch;
}
.tab > .icon {
  width: 17px;
  height: 17px;
  margin-top: 7px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
}
.tab:hover .tab__title,
.tab.is-active .tab__title {
  color: var(--clay);
}
.tab.is-active > .icon {
  opacity: 1;
  transform: none;
  color: var(--clay);
}
.tab.is-active {
  background: linear-gradient(
    90deg,
    rgba(191, 85, 48, 0.07),
    rgba(191, 85, 48, 0) 72%
  );
}
.app-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 38px 10px;
  min-height: 700px;
  border-radius: 32px;
  background: radial-gradient(
      70% 52% at 50% 14%,
      rgba(191, 85, 48, 0.2),
      transparent 68%
    ),
    radial-gradient(60% 50% at 50% 100%, rgba(18, 60, 49, 0.1), transparent 70%),
    var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.app-stage::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 560px;
  bottom: -180px;
  border: 1px solid rgba(18, 60, 49, 0.14);
  border-radius: 200px 200px 0 0;
}
.app-stage .phone {
  --pw: 298px;
  transform: rotate(1.6deg);
}
.app-stage::after {
  content: "Tap a tab to explore";
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font: 650 8.5px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.app-note {
  max-width: 400px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 18px;
}

/* ---------- automations ---------- */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.auto-card {
  position: relative;
  padding: 30px 26px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.auto-card:hover {
  background: var(--paper-2);
}
.section--paper2 .auto-card:hover {
  background: var(--paper);
}
.auto-card__icon {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--forest-ink);
  margin-bottom: 28px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.auto-card__icon .icon {
  width: 19px;
  height: 19px;
}
.auto-card:hover .auto-card__icon {
  background: var(--forest);
  border-color: var(--forest-ink);
  color: var(--cream);
}
.auto-card--accent {
  background: rgba(191, 85, 48, 0.055);
}
.auto-card--accent .auto-card__icon {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--cream);
}
.auto-card--accent:hover .auto-card__icon {
  background: var(--clay-deep);
  border-color: var(--clay-deep);
}
.auto-card__tag {
  position: absolute;
  top: 32px;
  right: 26px;
  font: 650 8.5px/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay);
}
.auto-card h3 {
  font-size: 1.42rem;
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin-bottom: 10px;
}
.auto-card p {
  font-size: 0.91rem;
  line-height: 1.58;
  color: var(--muted);
  max-width: 34ch;
}
.auto-foot {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--muted);
}
.auto-foot .icon {
  width: 15px;
  height: 15px;
  color: var(--clay);
  margin-top: 2px;
}

/* ---------- local AI ---------- */
.ai-flow {
  margin-top: 6px;
  padding: clamp(22px, 3.4vw, 38px);
  border-radius: 26px;
  border: 1px solid rgba(247, 242, 232, 0.12);
  background: rgba(247, 242, 232, 0.035);
}
.flow {
  display: grid;
  grid-template-columns: 1fr 74px 1.2fr 74px 1fr;
  align-items: center;
}
.flow__node {
  text-align: center;
  min-width: 0;
}
.flow__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 13px;
  border: 1px solid rgba(247, 242, 232, 0.18);
  color: var(--gold);
  background: rgba(247, 242, 232, 0.03);
}
.flow__icon .icon {
  width: 21px;
  height: 21px;
}
.flow__node strong {
  display: block;
  font: 600 13px/1.3 var(--sans);
  color: var(--cream);
}
.flow__node span {
  display: block;
  font-size: 11px;
  line-height: 1.45;
  color: #9bada2;
  margin-top: 3px;
}
.flow__node--hub {
  padding: 20px 14px 18px;
  border-radius: 19px;
  border: 1px solid rgba(215, 232, 184, 0.27);
  background: rgba(215, 232, 184, 0.07);
}
.flow__node--hub .flow__icon {
  border-color: rgba(215, 232, 184, 0.35);
  color: var(--lime);
  background: rgba(215, 232, 184, 0.1);
}
.flow__link {
  height: 1px;
  background: rgba(215, 232, 184, 0.22);
  position: relative;
  overflow: hidden;
}
.flow__link::after {
  content: "";
  position: absolute;
  top: -1.5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  animation: packet 3.4s linear infinite;
}
.flow__link--2::after {
  animation-delay: 1.4s;
}
@keyframes packet {
  0% {
    left: -6px;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
.ai-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  font: 650 8.5px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fa398;
}
.ai-caption .icon {
  width: 12px;
  height: 12px;
  color: var(--lime);
}
.ai-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 64px);
  margin-top: clamp(40px, 5vw, 64px);
  align-items: start;
}
.ai-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}
.ai-feature {
  border-top: 1px solid rgba(247, 242, 232, 0.14);
  padding-top: 16px;
}
.ai-feature h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 7px;
  letter-spacing: -0.015em;
}
.ai-feature p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: #9bada2;
}
.ai-feature .icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
  margin-bottom: 10px;
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.compare__card {
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(247, 242, 232, 0.13);
}
.compare__card--cloud {
  background: rgba(0, 0, 0, 0.18);
  color: #93a49a;
}
.compare__card--local {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.compare__card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.compare__card h3 .icon {
  width: 17px;
  height: 17px;
}
.compare__card--local h3 .icon {
  color: var(--forest-ink);
}
.compare__card ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.compare__card li {
  display: flex;
  gap: 9px;
  font-size: 0.83rem;
  line-height: 1.45;
}
.compare__card li .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  flex: none;
}
.compare__card--cloud li .icon {
  color: #b8745b;
}
.compare__card--local li .icon {
  color: var(--forest-ink);
}
.ai-fineprint {
  margin-top: 22px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: #93a49a;
  max-width: 64ch;
}

/* ---------- renters ---------- */
.renter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.renter-grid h2 {
  margin: 18px 0 0;
  font-size: clamp(2.5rem, 4.9vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: -0.038em;
}
.renter-grid h2 em {
  font-style: italic;
  color: var(--clay-deep);
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  border-top: 1px solid rgba(16, 22, 19, 0.18);
}
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(16, 22, 19, 0.18);
}
.checklist .icon {
  width: 17px;
  height: 17px;
  color: var(--clay-deep);
  margin-top: 3px;
}
.checklist strong {
  display: block;
  font: 600 0.95rem/1.35 var(--sans);
  letter-spacing: -0.005em;
}
.checklist span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #4d5249;
  margin-top: 2px;
}
.kit {
  position: relative;
  background: var(--paper);
  border-radius: 24px;
  padding: 30px 28px 26px;
  box-shadow: 0 32px 70px -46px rgba(74, 48, 28, 0.7);
  transform: rotate(1.3deg);
}
.kit::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 104px;
  height: 26px;
  background: rgba(191, 85, 48, 0.16);
  border: 1px solid rgba(191, 85, 48, 0.18);
}
.kit__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.kit__head h3 {
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}
.kit__head span {
  font: 650 8.5px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}
.kit__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 16px;
  margin-top: 8px;
}
.kit__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font: 550 0.8rem/1.3 var(--sans);
}
.kit__item .icon {
  width: 16px;
  height: 16px;
  color: var(--forest-ink);
}
.kit__note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(18, 60, 49, 0.06);
  font: 550 0.78rem/1.4 var(--sans);
  color: var(--forest-ink);
}
.kit__note .icon {
  width: 15px;
  height: 15px;
  flex: none;
}
.renter-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(16, 22, 19, 0.18);
  font-size: 0.84rem;
  line-height: 1.5;
  color: #4d5249;
}
.renter-callout .icon {
  width: 20px;
  height: 20px;
  color: var(--clay-deep);
  flex: none;
}

/* ---------- voice demo ---------- */
.voice {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  margin-top: clamp(34px, 4vw, 48px);
  padding-top: clamp(28px, 3.6vw, 42px);
  border-top: 1px solid rgba(247, 242, 232, 0.16);
}
.voice__copy h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.voice__copy > p {
  max-width: 48ch;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #aebcb2;
}
.voice__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.voice__chips button {
  padding: 8px 11px;
  border: 1px solid rgba(247, 242, 232, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #d4dfd7;
  font: 600 9px/1 var(--sans);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.voice__chips button:hover {
  border-color: rgba(215, 232, 184, 0.5);
  color: var(--cream);
}
.voice__chips button.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--forest-ink);
}
.voice__fine {
  margin-top: 16px;
  font-size: 0.72rem;
  line-height: 1.55;
  color: #7f9388;
  max-width: 48ch;
}
.voice__player {
  padding: 20px;
  border: 1px solid rgba(247, 242, 232, 0.14);
  border-radius: 20px;
  background: rgba(247, 242, 232, 0.05);
}
.voice__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.12);
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa398;
}
.voice__head > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
}
.voice__head > span:first-child i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}
.voice__eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
}
.voice__eq i {
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: var(--gold);
  opacity: 0.55;
}
.voice__player.is-playing .voice__eq i {
  animation: eq 0.7s ease-in-out infinite alternate;
}
.voice__player.is-playing .voice__eq i:nth-child(2n) {
  animation-delay: 0.18s;
}
.voice__player.is-playing .voice__eq i:nth-child(3n) {
  animation-delay: 0.34s;
}
@keyframes eq {
  from { height: 3px; opacity: 0.5; }
  to { height: 13px; opacity: 1; }
}
.voice__heard {
  margin: 18px 0 9px;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.voice__reply {
  min-height: 3.4em;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #aebcb2;
}
.voice__play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 13px;
  border: 1px solid rgba(215, 232, 184, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--lime);
  font: 650 9px/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.voice__play:hover {
  background: rgba(215, 232, 184, 0.1);
}
.voice__play .icon {
  width: 11px;
  height: 11px;
}

.section--voice .section__head {
  margin-bottom: clamp(28px, 3.5vw, 42px);
}
.section--voice .voice {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* ---------- local agent ---------- */
.agent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(36px, 5vw, 58px);
  padding-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid rgba(247, 242, 232, 0.16);
}
.agent__copy h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.agent__copy p {
  max-width: 48ch;
  margin-bottom: 10px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #aebcb2;
}
.agent__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(215, 232, 184, 0.35);
  font: 600 11px/1 var(--sans);
  color: var(--lime);
  text-decoration: none;
}
.agent__link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}
.agent__link:hover .icon {
  transform: translateX(3px);
}
.agent-chat {
  padding: 18px;
  border: 1px solid rgba(247, 242, 232, 0.14);
  border-radius: 20px;
  background: rgba(247, 242, 232, 0.04);
}
.agent-chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.12);
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa398;
}
.agent-chat__head span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
}
.agent-chat__head i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}
.agent-chat__bubble {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.5;
}
.agent-chat__reply {
  margin-top: 10px;
  margin-left: 26px;
  padding: 12px 14px;
  border: 1px solid rgba(215, 232, 184, 0.18);
  border-radius: 14px 14px 4px 14px;
  background: rgba(215, 232, 184, 0.07);
  color: #d4dfd7;
  font-size: 0.83rem;
  line-height: 1.55;
}
.agent-chat__reply span {
  display: block;
  margin-bottom: 5px;
  font: 650 7.5px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.agent-chat__meta {
  margin-top: 12px;
  font: 600 7.5px/1.4 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7f9388;
}

/* ---------- proof ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.proof-grid h2 {
  margin: 18px 0 0;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 13ch;
}
.proof-grid .lede {
  color: #a8b6ac;
  max-width: 44ch;
}
.proof-grid .lede strong {
  color: var(--cream);
  font-weight: 600;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(247, 242, 232, 0.18);
  border-left: 1px solid rgba(247, 242, 232, 0.18);
  margin-top: 36px;
}
.stat {
  padding: 26px 22px 24px;
  border-right: 1px solid rgba(247, 242, 232, 0.18);
  border-bottom: 1px solid rgba(247, 242, 232, 0.18);
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 4.4vw, 4.3rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--gold);
}
.stat__label {
  display: block;
  margin-top: 12px;
  font: 650 9px/1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93a49a;
}
.proof-aside {
  max-width: 30ch;
  margin-top: 26px;
  padding-left: 16px;
  border-left: 1px solid rgba(247, 242, 232, 0.24);
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.5;
  color: #93a49a;
}
.proof-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 26px;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #93a49a;
}
.proof-note .icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
  margin-top: 2px;
}

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.step {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 0 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.step p {
  margin-bottom: 15px;
}
.step:last-child {
  border-right: 0;
}
.step__num {
  font: 500 10px/1 var(--mono);
  color: var(--clay);
}
.step h3 {
  font-size: 1.32rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 18px 0 8px;
}
.step p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 26ch;
}
.step__time {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(18, 60, 49, 0.08);
  font: 650 8.5px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-ink);
}
.process-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  font-size: 0.82rem;
  color: var(--muted);
}
.process-foot .icon {
  width: 16px;
  height: 16px;
  color: var(--clay);
}

/* ---------- automation levels ---------- */
.section--levels {
  background: var(--paper-2);
}
.levels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.level {
  display: flex;
  flex-direction: column;
  padding: 22px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}
.level--featured {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}
.level__no {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--clay);
}
.level--featured .level__no {
  color: var(--gold);
}
.level__tag {
  margin-top: 18px;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.level--featured .level__tag {
  color: var(--lime);
}
.level h3 {
  margin: 7px 0 8px;
  font-size: 1.2rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.level p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}
.level--featured p {
  color: #b9c9be;
}
.level ul {
  display: grid;
  gap: 7px;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  list-style: none;
}
.level--featured ul {
  border-top-color: rgba(247, 242, 232, 0.16);
}
.level li {
  display: flex;
  gap: 7px;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--muted);
}
.level li::before {
  content: "—";
  color: var(--clay);
  flex: none;
}
.level--featured li {
  color: #d4dfd7;
}
.level--featured li::before {
  color: var(--lime);
}
.levels-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.levels-compare__card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}
.levels-compare__card--rsmn {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}
.levels-compare__label {
  font: 650 9px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}
.levels-compare__card--rsmn .levels-compare__label {
  color: var(--lime);
}
.levels-compare__card h3 {
  margin: 9px 0 8px;
  font-size: clamp(1.4rem, 2.1vw, 1.8rem);
  letter-spacing: -0.025em;
}
.levels-compare__card p {
  max-width: 46ch;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}
.levels-compare__card--rsmn p {
  color: #b9c9be;
}
.levels-compare__card ul {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}
.levels-compare__card li {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}
.levels-compare__card li::before {
  content: "×";
  color: var(--clay);
  flex: none;
}
.levels-compare__card--rsmn li {
  color: #d4dfd7;
}
.levels-compare__card--rsmn li::before {
  content: "✓";
  color: var(--lime);
}
.levels-examples {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}
.levels-examples span {
  margin-right: 10px;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}

/* ---------- anything live ---------- */
.section--anything {
  background: var(--paper);
}
.anything-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}
.anything-label {
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}
.anything-copy h3 {
  margin: 10px 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}
.anything-copy > p:not(.anything-label):not(.anything-fine) {
  max-width: 54ch;
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}
.anything-copy strong {
  color: var(--ink);
  font-weight: 600;
}
.anything-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.anything-chips span {
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: 600 8px/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-ink);
}
.anything-fine {
  margin-top: 18px;
  max-width: 56ch;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--muted);
}
.commute-card {
  padding: 20px;
  border: 1px solid rgba(215, 232, 184, 0.2);
  border-radius: 22px;
  background: linear-gradient(145deg, #173d2f 0%, #0b211a 100%);
  box-shadow: 0 30px 55px -38px rgba(9, 42, 34, 0.8);
  color: var(--cream);
}
.commute-card__head,
.commute-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.commute-card__head {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.13);
  color: #9fb4a5;
}
.commute-card__head > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
}
.commute-card__head i,
.commute-light i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(215, 232, 184, 0.1);
  animation: security-pulse 2.6s ease-in-out infinite;
}
.commute-card__source {
  color: #8ea497;
  font-size: 7px;
}
.commute-route {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}
.commute-route span {
  font-size: 0.82rem;
  color: #a8b9ad;
}
.commute-route strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.commute-time {
  margin-top: 7px;
}
.commute-time strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lime);
}
.commute-time span {
  display: block;
  margin-top: 7px;
  font-size: 0.75rem;
  color: #92a99a;
}
.commute-light {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 13px;
  border: 1px solid rgba(215, 232, 184, 0.22);
  border-radius: 13px;
  background: rgba(215, 232, 184, 0.08);
  color: var(--lime);
  font: 650 10px/1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.commute-light i {
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(215, 232, 184, 0.08);
}
.commute-card__foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(247, 242, 232, 0.13);
  color: #8ea497;
  font-size: 7px;
}
.commute-card__foot span:last-child {
  color: var(--lime);
}
.anything-visuals {
  display: grid;
  gap: 12px;
}
.delivery-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  color: var(--ink);
}
.delivery-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.delivery-card__head > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clay);
}
.delivery-card__head i,
.delivery-light i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px rgba(224, 138, 95, 0.1);
}
.delivery-eta {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 14px;
}
.delivery-eta strong {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.delivery-eta span {
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
}
.delivery-card > p {
  margin-top: 7px;
  font-size: 0.8rem;
  color: var(--muted);
}
.delivery-bar {
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.delivery-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(to right, var(--clay), var(--gold));
}
.delivery-light {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--forest-ink);
}
.delivery-card__note {
  margin-top: 12px;
  font-size: 0.7rem !important;
  color: var(--muted);
}
.automation-list {
  margin-top: clamp(38px, 5vw, 62px);
}
.automation-list__head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}
.automation-list__head h3 {
  margin-top: 8px;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.automation-list__head > p {
  justify-self: end;
  max-width: 38ch;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}
.automation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.automation-card {
  padding: 12px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
}
.automation-visual {
  --av: var(--lime);
  position: relative;
  height: 96px;
  margin-bottom: 13px;
  border: 1px solid rgba(215, 232, 184, 0.13);
  border-radius: 12px;
  background: radial-gradient(120% 100% at 80% 0%, rgba(191, 85, 48, 0.12), transparent 55%), linear-gradient(145deg, #173d2f, #0b211a);
  color: var(--av);
  overflow: hidden;
}
.automation-visual svg {
  display: block;
  width: 100%;
  height: 100%;
}
.automation-visual--food { --av: #e9a17c; }
.automation-visual--desk { --av: #cfe3df; }
.automation-visual--climate { --av: #a9d3e6; }
.automation-visual--rain { --av: #e9a17c; }
.automation-visual--sun { --av: #f6d9a5; }
.automation-visual--flight { --av: #d7e8b8; }
.automation-visual--energy { --av: #f6d9a5; }
.automation-visual--pet { --av: #e9a17c; }
.av-tag {
  position: absolute;
  top: 7px;
  right: 8px;
  padding: 4px 6px;
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: 999px;
  background: rgba(7, 29, 23, 0.52);
  color: #dfe9e1;
  font: 650 6.5px/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.av-text {
  fill: #f4f6ef;
  font: 650 9px/1 var(--sans);
  letter-spacing: 0.08em;
}
.av-line,
.av-line-soft,
.av-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.65;
}
.av-line-soft {
  stroke-width: 1;
  opacity: 0.2;
}
.av-path {
  stroke-width: 1.5;
  opacity: 0.45;
}
.av-signal,
.av-node {
  fill: currentColor;
}
.av-signal {
  animation: av-pulse 1.8s ease-in-out infinite;
}
.av-train,
.av-scooter,
.av-person {
  transform-box: fill-box;
  transform-origin: center;
}
.av-train {
  animation: av-train 4.8s ease-in-out infinite;
}
.av-scooter {
  animation: av-scooter 4.8s ease-in-out infinite;
}
.av-progress-track {
  fill: rgba(247, 242, 232, 0.14);
}
.av-progress {
  fill: #e9a17c;
  transform-box: fill-box;
  transform-origin: left center;
  animation: av-progress 4.8s ease-in-out infinite;
}
.av-desk {
  fill: rgba(247, 242, 232, 0.22);
}
.av-monitor {
  fill: #e8eee9;
}
.av-screen {
  fill: #cfe3df;
  animation: av-screen 4.8s ease-in-out infinite;
}
.av-person {
  animation: av-person 4.8s ease-in-out infinite;
}
.av-arrow {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  opacity: 0.5;
}
.av-window {
  fill: rgba(169, 211, 230, 0.08);
  stroke: currentColor;
  stroke-width: 1.4;
  opacity: 0.7;
}
.av-window-line {
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.5;
}
.av-pane {
  fill: rgba(169, 211, 230, 0.16);
  stroke: currentColor;
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: left center;
  animation: av-pane 4.8s ease-in-out infinite;
}
.av-ac {
  fill: #e8eee9;
}
.av-ac-line {
  stroke: #173d2f;
  stroke-width: 1.4;
}
.av-air {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.6;
  animation: av-air 2.8s ease-in-out infinite;
}
.av-snow {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.4;
  animation: av-pulse 2.8s ease-in-out infinite;
}
.av-awning {
  fill: #e9a17c;
}
.av-awning-line {
  fill: none;
  stroke: #173d2f;
  stroke-width: 1.2;
  opacity: 0.35;
}
.av-rain line {
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.55;
  transform-box: fill-box;
  animation: av-rain 1.6s linear infinite;
}
.av-rain line:nth-child(2) { animation-delay: -0.4s; }
.av-rain line:nth-child(3) { animation-delay: -0.8s; }
.av-rain line:nth-child(4) { animation-delay: -1.2s; }
.av-plant {
  fill: none;
  stroke: #d7e8b8;
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.8;
}
.av-sun {
  fill: #f6d9a5;
  transform-box: fill-box;
  transform-origin: center;
  animation: av-sun 5s ease-in-out infinite;
}
.av-rays {
  fill: none;
  stroke: #f6d9a5;
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.55;
}
.av-slats line {
  stroke: #102e24;
  stroke-width: 2;
  opacity: 0.7;
  transform-box: fill-box;
  animation: av-slat 4.8s ease-in-out infinite;
}
.av-battery,
.av-terminal {
  fill: rgba(247, 242, 232, 0.06);
  stroke: currentColor;
  stroke-width: 1.5;
}
.av-charge {
  fill: currentColor;
  transform-box: fill-box;
  transform-origin: left center;
  animation: av-charge 4.8s ease-in-out infinite;
}
.av-bolt {
  fill: currentColor;
  transform-box: fill-box;
  transform-origin: center;
  animation: av-bolt 2.4s ease-in-out infinite;
}
.av-bars rect {
  fill: currentColor;
  opacity: 0.55;
  transform-box: fill-box;
  transform-origin: bottom;
  animation: av-bars 3.6s ease-in-out infinite;
}
.av-bars rect:nth-child(2) { animation-delay: 0.15s; }
.av-bars rect:nth-child(3) { animation-delay: 0.3s; }
.av-bars rect:nth-child(4) { animation-delay: 0.45s; }
@keyframes av-train {
  0%, 100% { transform: translateX(-14px); }
  50% { transform: translateX(26px); }
}
@keyframes av-scooter {
  0%, 100% { transform: translateX(-12px); }
  50% { transform: translateX(30px); }
}
@keyframes av-progress {
  0% { transform: scaleX(0.2); }
  70%, 100% { transform: scaleX(1); }
}
@keyframes av-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes av-screen {
  0%, 35% { opacity: 1; }
  60%, 100% { opacity: 0.18; }
}
@keyframes av-person {
  0%, 35% { transform: translateX(0); opacity: 1; }
  60%, 100% { transform: translateX(16px); opacity: 0.5; }
}
@keyframes av-pane {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(13px); }
}
@keyframes av-air {
  0%, 100% { transform: translateX(0); opacity: 0.25; }
  50% { transform: translateX(-4px); opacity: 0.75; }
}
@keyframes av-rain {
  from { transform: translateY(-4px); opacity: 0; }
  30% { opacity: 0.65; }
  to { transform: translateY(10px); opacity: 0; }
}
@keyframes av-sun {
  0%, 100% { transform: translateY(13px); opacity: 0.45; }
  50% { transform: translateY(-2px); opacity: 1; }
}
@keyframes av-slat {
  0%, 100% { transform: translateY(3px); opacity: 0.35; }
  50% { transform: translateY(-4px); opacity: 0.85; }
}
@keyframes av-charge {
  0% { transform: scaleX(0.25); }
  65%, 100% { transform: scaleX(1); }
}
@keyframes av-bolt {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.04); }
}
.av-paw {
  transform-box: fill-box;
  transform-origin: center;
  animation: av-paw 3.2s ease-in-out infinite;
}
.av-bowl {
  transform-box: fill-box;
  transform-origin: center;
  animation: av-bowl 3.2s ease-in-out infinite;
}
.av-kibble circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: av-kibble 2.8s ease-in infinite;
}
.av-kibble circle:nth-child(2) { animation-delay: .25s; }
.av-kibble circle:nth-child(3) { animation-delay: .5s; }
.av-kibble circle:nth-child(4) { animation-delay: .75s; }
@keyframes av-paw {
  0%, 100% { opacity: .35; transform: translateY(2px); }
  50% { opacity: .9; transform: translateY(-2px); }
}
@keyframes av-bowl {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(1.04); }
}
@keyframes av-kibble {
  0% { transform: translateY(-12px); opacity: 0; }
  35% { opacity: .9; }
  70%, 100% { transform: translateY(8px); opacity: 0; }
}
@keyframes av-bars {
  0%, 100% { transform: scaleY(0.55); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 0.8; }
}
@media (prefers-reduced-motion: reduce) {
  .automation-visual * {
    animation: none !important;
  }
}
.automation-card > span {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--clay);
}
.automation-card h4 {
  margin: 12px 0 6px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.automation-card p {
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--muted);
}
.compare-block {
  margin-top: clamp(42px, 6vw, 78px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.compare-block__head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}
.compare-block__head h3 {
  margin-top: 8px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.compare-block__head > p {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 40ch;
  justify-self: end;
}
.compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.78rem;
  text-align: left;
}
.compare-table th,
.compare-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  vertical-align: top;
}
.compare-table th:last-child,
.compare-table td:last-child {
  border-right: 0;
}
.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}
.compare-table thead th {
  font: 650 8px/1.25 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
}
.compare-block__link {
  margin-top: 16px;
}
.compare-table thead th:first-child {
  color: var(--clay);
}
.compare-table tbody th {
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
}
.compare-table td {
  color: var(--muted);
}
.compare-table td:not(.compare-table__rsmn) {
  font-size: 0.74rem;
}
.compare-table .compare-table__rsmn {
  color: var(--forest-ink);
  font-weight: 650;
  background: rgba(215, 232, 184, 0.16);
}
.compare-table thead .compare-table__rsmn {
  color: var(--forest);
  background: var(--lime);
}
[data-theme="dark"] .compare-table .compare-table__rsmn {
  color: var(--lime);
  background: rgba(215, 232, 184, 0.08);
}
[data-theme="dark"] .compare-table thead .compare-table__rsmn {
  color: #0d1714;
  background: var(--lime);
}
[data-theme="dark"] .compare-scroll {
  background: var(--paper-2);
}

/* ---------- pricing ---------- */
.section--pricing {
  background: var(--paper);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-2);
}
.pricing-card--featured {
  border-color: var(--forest-ink);
  background: var(--forest);
  color: var(--cream);
  transform: translateY(-6px);
  box-shadow: 0 30px 55px -40px rgba(9, 42, 34, 0.8);
}
.pricing-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.pricing-card__label {
  font: 650 10px/1.3 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--clay);
}
.pricing-card--featured .pricing-card__label {
  color: var(--gold);
}
.pricing-card__meta {
  font: 600 8px/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.pricing-card--featured .pricing-card__meta {
  color: #9fb0a5;
}
.pricing-card__price {
  margin: 22px 0 8px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3vw, 2.55rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.pricing-card__price small {
  display: block;
  margin-bottom: 8px;
  font: 650 9px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pricing-card--featured .pricing-card__price small {
  color: #9fb2a7;
}
.pricing-card > p {
  min-height: 3.7em;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}
.pricing-card--featured > p {
  color: #b9c9be;
}
.pricing-card ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.pricing-card--featured ul {
  border-top-color: rgba(247, 242, 232, 0.16);
}
.pricing-card li {
  display: flex;
  gap: 8px;
  font-size: 0.84rem;
  line-height: 1.4;
}
.pricing-card li .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--clay);
  flex: none;
}
.pricing-card--featured li {
  color: #d4dfd7;
}
.pricing-card--featured li .icon {
  color: var(--lime);
}
.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}
.pricing-card--featured .btn {
  background: var(--cream);
  color: var(--ink);
}
.region-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0 18px;
}
.region-switch__label {
  margin-right: 4px;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.region-switch button {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--forest-ink);
  font: 650 9px/1 var(--sans);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.region-switch button:hover {
  border-color: var(--forest-ink);
}
.region-switch button.is-active {
  background: var(--forest);
  border-color: var(--forest-ink);
  color: var(--cream);
}
.coverage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.coverage__item {
  padding-right: 16px;
}
.coverage__place {
  display: block;
  margin-bottom: 6px;
  font: 650 10px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
}
.coverage__item p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}
.coverage__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(18, 60, 49, 0.3);
  color: var(--forest-ink);
  font: 650 9px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.coverage__link .icon {
  width: 11px;
  height: 11px;
}

.pricing-note {
  margin-top: 20px;
  font-size: 0.74rem;
  line-height: 1.6;
  color: #5f6b63;
  max-width: 80ch;
}
.pricing-note a {
  color: var(--forest-ink);
  text-underline-offset: 3px;
}

/* ---------- pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.price--featured {
  background: var(--forest);
  border-color: var(--forest-ink);
  color: var(--cream);
  transform: translateY(-8px);
  box-shadow: 0 34px 60px -40px rgba(9, 42, 34, 0.8);
}
.price__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font: 650 10px/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay);
}
.price--featured .price__name {
  color: var(--gold);
}
.price__badge {
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.1em;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(215, 232, 184, 0.14);
  color: var(--lime);
  border: 1px solid rgba(215, 232, 184, 0.2);
}
.price__price {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.1vw, 2.65rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 20px 0 8px;
}
.price__price small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.price--featured .price__price small {
  color: #9fb2a7;
}
.price__note {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
  min-height: 2.6em;
}
.price--featured .price__note {
  color: #b9c9be;
}
.price ul {
  list-style: none;
  padding: 18px 0 0;
  margin: 20px 0 26px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
}
.price--featured ul {
  border-top-color: rgba(247, 242, 232, 0.16);
}
.price li {
  display: flex;
  gap: 9px;
  font-size: 0.85rem;
  line-height: 1.4;
}
.price li .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--clay);
  flex: none;
}
.price--featured li {
  color: #d4dfd7;
}
.price--featured li .icon {
  color: var(--lime);
}
.price .btn {
  margin-top: auto;
  width: 100%;
}
.price--featured .btn {
  background: var(--cream);
  color: var(--ink);
}
.price--featured .btn:hover {
  background: #fff;
}
.care {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}
.care__text {
  display: flex;
  align-items: center;
  gap: 14px;
}
.care__text .icon {
  width: 22px;
  height: 22px;
  color: var(--clay);
  flex: none;
}
.care__text strong {
  display: block;
  font: 600 0.92rem/1.3 var(--sans);
}
.care__text span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}
.care__price {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.care__price small {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.included {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}
.included li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--muted);
}
.included .icon {
  width: 14px;
  height: 14px;
  color: var(--forest-ink);
}
.fineprint {
  margin-top: 18px;
  font-size: 0.73rem;
  line-height: 1.6;
  color: #5f6b63;
  max-width: 74ch;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 900px;
  margin: 0;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.3;
  letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .icon {
  width: 17px;
  height: 17px;
  margin-top: 4px;
  flex: none;
  color: var(--clay);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary .icon {
  transform: rotate(45deg);
}
.faq details p {
  margin: -4px 0 24px;
  max-width: 68ch;
  font-size: 0.91rem;
  line-height: 1.65;
  color: var(--muted);
}
.faq details p a {
  color: var(--forest-ink);
  text-underline-offset: 3px;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--clay);
  color: var(--cream);
  padding: clamp(74px, 10vw, 118px) 0;
}
.cta::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(247, 242, 232, 0.16);
  right: -190px;
  top: -210px;
}
.cta::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(247, 242, 232, 0.1);
  right: -90px;
  top: -120px;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.cta h2 {
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  line-height: 0.97;
  letter-spacing: -0.04em;
  max-width: 15ch;
}
.cta h2 em {
  font-style: italic;
  color: #f6d9a5;
}
.cta .kicker {
  color: var(--cream);
}
.cta__copy p {
  margin-top: 20px;
  max-width: 46ch;
  color: #f3e8d8;
  font-size: 1rem;
  line-height: 1.6;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.cta__fine {
  margin-top: 16px;
  font-size: 0.76rem;
  color: #f3e8d8;
}
.cta__card {
  border: 1px solid rgba(247, 242, 232, 0.28);
  border-radius: 20px;
  padding: 24px;
  background: rgba(9, 42, 34, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cta__card h3 {
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 14px;
}
.cta__card ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 11px;
}
.cta__card li {
  display: flex;
  gap: 9px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #f3e8d8;
}
.cta__card li .icon {
  width: 14px;
  height: 14px;
  color: #f6d9a5;
  margin-top: 2px;
  flex: none;
}
.cta__contact {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 242, 232, 0.22);
  font: 600 0.78rem/1.5 var(--sans);
  color: #f3e8d8;
}
.cta__contact a {
  color: var(--cream);
  text-underline-offset: 3px;
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: #c2cec5;
  padding: 62px 0 26px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
}
.footer .brand {
  color: var(--cream);
  margin-bottom: 16px;
}
.footer__tagline {
  max-width: 34ch;
  font-size: 0.87rem;
  line-height: 1.6;
  color: #98a79d;
}
.footer h3 {
  font: 650 9px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #76877c;
  margin-bottom: 15px;
}
.footer__links a {
  display: block;
  width: fit-content;
  padding: 5px 0;
  font-size: 0.87rem;
  color: #c2cec5;
  text-decoration: none;
  transition: color 0.2s;
}
.footer__links a:hover {
  color: var(--gold);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 242, 232, 0.12);
  font-size: 0.72rem;
  line-height: 1.5;
  color: #76877c;
}
.footer__bottom a {
  color: #98a79d;
  text-underline-offset: 3px;
}
.footer__bottom a:hover {
  color: var(--cream);
}

/* ---------- legal ---------- */
.legal {
  padding: 140px 0 96px;
}
.legal h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 18px 0 10px;
}
.legal__meta {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.legal__body {
  max-width: 720px;
  margin-top: 40px;
}
.legal__body h2 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin: 34px 0 10px;
}
.legal__body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal__body p strong {
  color: var(--ink);
  font-weight: 600;
}
.legal__body a {
  color: var(--forest-ink);
  text-underline-offset: 3px;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 40px;
  font: 600 13px/1 var(--sans);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
}
.legal__back .icon {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
.js .reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.js .reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.js .reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* ---------- protocol strip ---------- */
.protocols {
  border-block: 1px solid var(--line);
  background: rgba(237, 230, 215, 0.42);
  padding: 15px 0;
}
.protocols__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.protocols__label {
  font: 650 8.5px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}
.protocols ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  padding: 0;
  list-style: none;
}
.protocols li {
  position: relative;
  font: 600 9.5px/1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.protocols li + li::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* ---------- for designers ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.joinat {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}
.joinat span {
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.joinat span:first-child {
  border-color: var(--clay);
  color: var(--clay);
}

/* ---------- retrofit ---------- */
.retrofit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.retrofit-grid h2 {
  margin: 18px 0 0;
  font-size: clamp(2.35rem, 4.5vw, 3.85rem);
  line-height: 0.99;
  letter-spacing: -0.038em;
  max-width: 13ch;
}
.retrofit-grid .lede {
  margin-top: 24px;
  max-width: 46ch;
  color: #4b554e;
}
.section--sand .kicker {
  color: var(--clay-deep);
}
.retrofit-quote {
  margin-top: 30px;
  padding-left: 18px;
  border-left: 2px solid var(--clay);
}
.retrofit-quote p {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.retrofit-quote span {
  display: block;
  margin-top: 8px;
  font: 650 8.5px/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.retrofit-card {
  background: var(--paper);
  border: 1px solid rgba(16, 22, 19, 0.14);
  border-radius: 24px;
  padding: 26px 26px 22px;
  box-shadow: 0 36px 80px -56px rgba(74, 48, 28, 0.75);
}
.retrofit-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.retrofit-card__head h3 {
  font-size: 1.42rem;
  letter-spacing: -0.025em;
}
.retrofit-card__head span {
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay);
}
.retrofit-table {
  display: grid;
}
.retrofit-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.25fr;
  gap: 12px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.retrofit-row:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}
.retrofit-row--head {
  padding: 13px 0 9px;
  font: 650 7.5px/1.3 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.retrofit-row strong {
  font: 600 0.82rem/1.35 var(--sans);
  letter-spacing: -0.005em;
}
.retrofit-row em {
  font: 500 0.71rem/1.5 var(--mono);
  font-style: normal;
  color: var(--clay-deep);
}
.retrofit-row span {
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--muted);
}
.retrofit-card__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.73rem;
  line-height: 1.5;
  color: var(--muted);
}
.retrofit-card__note .icon {
  width: 13px;
  height: 13px;
  color: var(--clay);
  margin-top: 2px;
}
.tenure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(34px, 5vw, 54px);
}
.tenure__card {
  position: relative;
  overflow: hidden;
  padding: 28px 26px;
  border-radius: 20px;
  border: 1px solid rgba(16, 22, 19, 0.16);
  background: rgba(245, 240, 230, 0.5);
}
.tenure__card--dark {
  background: var(--forest);
  border-color: var(--forest-ink);
  color: var(--cream);
}
.tenure__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 650 8.5px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.tenure__card--dark .tenure__label {
  color: var(--gold);
}
.tenure__label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.tenure__card h3 {
  margin: 14px 0 8px;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.028em;
}
.tenure__card p {
  max-width: 40ch;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #4d5249;
}
.tenure__card--dark p {
  color: #b5c5ba;
}

/* ---------- app UI utilities ---------- */
.u-stack {
  display: grid;
  gap: 8px;
}
.u-flex {
  display: flex;
  align-items: center;
  gap: 9px;
}
.u-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.u-mt {
  margin-top: 9px;
}
.u-small {
  font: 400 8.5px/1.4 var(--sans);
  color: #93a49a;
}
.u-btn {
  display: block;
  width: 100%;
  padding: 9px;
  border: 1px solid rgba(215, 232, 184, 0.2);
  border-radius: 11px;
  background: rgba(215, 232, 184, 0.09);
  color: var(--lime);
  text-align: center;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.u-progress {
  height: 3px;
  margin-top: 9px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.u-progress span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: 3px;
  background: var(--lime);
}
.u-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

/* ---------- engagement extras ---------- */
.price__price--sm {
  font-size: clamp(1.55rem, 2.3vw, 1.95rem);
  letter-spacing: -0.03em;
}
.homeowner-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 20px;
  padding: 19px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--muted);
}
.homeowner-note .icon {
  width: 18px;
  height: 18px;
  color: var(--clay);
  flex: none;
  margin-top: 2px;
}
.homeowner-note strong {
  color: var(--ink);
  font-weight: 650;
}

/* ---------- stages ---------- */
.section--stages {
  background: var(--paper);
}
.stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stage {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-2);
}
.stage--fresh {
  background: var(--forest);
  border-color: var(--forest-ink);
  color: var(--cream);
}
.stage__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stage__num {
  font: 500 10px/1 var(--mono);
  color: var(--clay);
}
.stage--fresh .stage__num {
  color: var(--gold);
}
.stage__tag {
  font: 650 8px/1.3 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: right;
  color: var(--muted);
}
.stage--fresh .stage__tag {
  color: #b7c7bc;
}
.stage h3 {
  margin: 22px 0 10px;
  font-size: clamp(1.4rem, 1.8vw, 1.62rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.stage p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}
.stage--fresh p {
  color: #b5c5ba;
}
.stage__list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.stage--fresh .stage__list {
  border-top-color: rgba(247, 242, 232, 0.16);
}
.stage__list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--ink);
}
.stage--fresh .stage__list li {
  color: #d4dfd7;
}
.stage__list .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  color: var(--forest-ink);
  flex: none;
}
.stage--fresh .stage__list .icon {
  color: var(--lime);
}
.stage__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(18, 60, 49, 0.3);
  font: 600 11px/1 var(--sans);
  color: var(--forest-ink);
  text-decoration: none;
}
.stage__link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}
.stage__link:hover .icon {
  transform: translateX(3px);
}
.stage--fresh .stage__link {
  color: var(--lime);
  border-bottom-color: rgba(215, 232, 184, 0.4);
}
.stages-note {
  max-width: 84ch;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- spaces gallery ---------- */
.section--spaces {
  background: var(--paper);
}
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: 12px;
  margin-top: 4px;
}
.space {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--sand);
  isolation: isolate;
}
.space img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.space::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to top,
    rgba(6, 22, 17, 0.82) 0%,
    rgba(6, 22, 17, 0.32) 38%,
    rgba(6, 22, 17, 0.02) 68%
  );
}
.space figcaption {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: var(--cream);
}
.space__index {
  display: block;
  margin-bottom: 7px;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.space__name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.space__line {
  display: block;
  margin-top: 6px;
  max-width: 38ch;
  font-size: 0.77rem;
  line-height: 1.45;
  color: rgba(247, 242, 232, 0.82);
}
.space--living {
  grid-column: span 7;
  grid-row: span 4;
}
.space--bedroom {
  grid-column: span 5;
  grid-row: span 2;
}
.space--cinema {
  grid-column: span 5;
  grid-row: span 2;
}
.space--control {
  grid-column: span 4;
  grid-row: span 3;
}
.space--switch {
  grid-column: span 4;
  grid-row: span 3;
}
.space--balcony {
  grid-column: span 4;
  grid-row: span 3;
}
.space--bedroom img {
  object-position: 50% 72%;
}
.space--cinema img {
  object-position: 50% 42%;
}
.space--control img {
  object-position: 32% 50%;
}
.space--balcony img {
  object-position: 50% 52%;
}
.spaces-note {
  margin-top: 18px;
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--muted);
}
.spaces-note a {
  color: var(--forest-ink);
  text-underline-offset: 3px;
}
@media (hover: hover) {
  .space:hover img {
    transform: scale(1.035);
  }
}

/* ---------- made to measure ---------- */
.section--scenarios {
  background: var(--paper);
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.scenario {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-2);
}
.scenario__icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--forest-ink);
}
.scenario__icon .icon {
  width: 18px;
  height: 18px;
}
.scenario__label {
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay);
}
.scenario h3 {
  margin: 8px 0 9px;
  font-size: clamp(1.35rem, 1.8vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.scenario p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}
.scenario__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(18, 60, 49, 0.3);
  font: 600 11px/1 var(--sans);
  color: var(--forest-ink);
  text-decoration: none;
}
.scenario__link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}
.scenario__link:hover .icon {
  transform: translateX(3px);
}
.scenarios-note {
  max-width: 84ch;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- motion loop ---------- */
.motion {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin: 0 0 34px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-2);
}
.motion__copy {
  padding: 4px 0 4px 2px;
}
.motion__eyebrow {
  margin-bottom: 10px;
  font: 650 8.5px/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay);
}
.motion__copy h3 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2.1vw, 1.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.motion__copy p {
  max-width: 34ch;
  margin-bottom: 14px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}
.motion__media {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--forest-deep);
  box-shadow: 0 22px 50px -34px rgba(9, 42, 34, 0.7);
}
.motion__media video {
  display: block;
  width: 100%;
  height: auto;
}
.motion__tag {
  position: absolute;
  left: 11px;
  bottom: 11px;
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(9, 42, 34, 0.84);
  color: var(--cream);
  font: 650 7.5px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ---------- blueprint ---------- */
.section--blueprint .wrap {
  max-width: 1280px;
}
.section--blueprint {
  background: var(--paper-2);
}
.blueprint {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  grid-gap: 18px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f8f4ec;
}
.plan-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.plan-demo {
  padding: 7px 10px;
  border: 1px solid rgba(18, 60, 49, 0.26);
  border-radius: 999px;
  background: transparent;
  color: var(--forest-ink);
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.plan-demo:hover {
  background: var(--forest);
  color: var(--cream);
}
.delivery-toast {
  position: fixed;
  z-index: 240;
  top: 92px;
  right: 24px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 8px;
  width: min(330px, calc(100% - 36px));
  padding: 10px 11px;
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: 14px;
  background: var(--forest-deep);
  color: var(--cream);
  box-shadow: 0 18px 35px -20px rgba(9, 42, 34, 0.8);
  animation: toast-in 0.35s var(--ease) both;
}
.delivery-toast[hidden] {
  display: none;
}
.delivery-toast__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--cream);
}
.delivery-toast__icon .icon {
  width: 14px;
  height: 14px;
}
.delivery-toast__copy {
  min-width: 0;
}
.delivery-toast__copy strong,
.delivery-toast__copy span {
  display: block;
}
.delivery-toast__copy strong {
  font: 650 10px/1.2 var(--sans);
  letter-spacing: 0.02em;
}
.delivery-toast__copy span {
  margin-top: 2px;
  font-size: 9.5px;
  color: #b9c9be;
}
.delivery-toast__unlock {
  padding: 6px 8px;
  border: 1px solid rgba(215, 232, 184, 0.4);
  border-radius: 999px;
  background: transparent;
  color: var(--lime);
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.delivery-toast__unlock:hover {
  background: rgba(215, 232, 184, 0.1);
}
.delivery-toast__close {
  border: 0;
  background: transparent;
  color: #b9c9be;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
.plan-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.plan-card__eyebrow {
  display: block;
  margin-bottom: 7px;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  letter-spacing: -0.025em;
}
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(18, 60, 49, 0.22);
  border-radius: 999px;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-ink);
  white-space: nowrap;
}
.plan-badge span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 3px rgba(168, 70, 34, 0.13);
}
.plan-wrap {
  position: relative;
  aspect-ratio: 810 / 620;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(18, 60, 49, 0.12);
  border-radius: 16px;
  background: #f8f4ec;
}
.plan-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.light-wash {
  mix-blend-mode: screen;
  transition: opacity 0.45s var(--ease);
}
.room-shade,
.daylight,
.ac-tint,
.entry-glow {
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.daylight {
  mix-blend-mode: screen;
}
.venetian .slat,
.venetian .glass,
.roller .fabric {
  transition: opacity 0.45s var(--ease);
}
.venetian__slats {
  transition: transform 0.55s var(--ease), opacity 0.45s var(--ease);
}
.venetian.is-open .venetian__slats {
  transform: translateY(-30px);
  opacity: 0.3;
}
.venetian.is-open .slat {
  opacity: 0.12;
}
.venetian.is-open .glass {
  opacity: 0.55;
}
.roller__cloth {
  transition: transform 0.6s var(--ease);
}
.roller.is-open .roller__cloth {
  transform: scaleY(0.06);
}
.roller.is-open .glass {
  opacity: 0.65;
}
.screen-bands {
  animation: screenPan 6s ease-in-out infinite alternate;
}
.screen-scan {
  animation: screenScan 3.2s linear infinite;
}
@keyframes screenPan {
  from { transform: translateX(-9px); }
  to { transform: translateX(9px); }
}
@keyframes screenScan {
  0% { transform: translateY(-12px); opacity: 0; }
  45% { opacity: 0.35; }
  100% { transform: translateY(12px); opacity: 0; }
}
.entry-door {
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.awning {
  transform-box: view-box;
  transform-origin: 295px 324px;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease) !important;
}
.awning.is-open {
  opacity: 0.02;
  transform: translateY(-8px) scaleX(0.62);
}
.light-fixture .light-cone,
.light-fixture .light-pool {
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.light-fixture.is-on .light-cone {
  opacity: 0.34;
}
.light-fixture.is-on .light-pool {
  opacity: 0.7;
}
.light-fixture .glow {
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.light-fixture.is-on .glow {
  opacity: 1;
}
.light-fixture .bulb {
  transition: fill 0.3s, stroke 0.3s;
}
.light-fixture.is-on .bulb {
  fill: #ffe3a3;
  stroke: #b58a4e;
}
.entry-door.is-open {
  transform: rotate(-32deg);
}
.door-sensor.is-open rect {
  fill: #a84622;
}
.door-sensor.is-open circle {
  fill: #f6d4b8;
}
.door-lock.is-open rect {
  stroke: #a84622;
}
.door-lock.is-open text {
  fill: #a84622;
}
.projector-glow.is-on {
  opacity: 1 !important;
}
.ac-glow.is-on {
  opacity: 1 !important;
}
.ac-glow.is-on circle {
  fill: #87c7df;
}
.plan-labels text {
  font-weight: 600;
}
.hotspot {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 1px solid var(--forest);
  border-radius: 50%;
  background: #f8f4ec;
  color: var(--forest-ink);
  cursor: pointer;
  box-shadow: 0 7px 16px -9px rgba(9, 42, 34, 0.8);
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s,
    box-shadow 0.2s;
}
.hotspot .icon {
  width: 16px;
  height: 16px;
}
.hotspot[aria-pressed="true"] {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 0 0 5px rgba(18, 60, 49, 0.1), 0 8px 18px -9px rgba(9, 42, 34, 0.9);
}
.hotspot[aria-pressed="false"] {
  background: rgba(248, 244, 236, 0.94);
  color: #7d8374;
  border-color: rgba(18, 60, 49, 0.3);
  box-shadow: 0 4px 10px -8px rgba(9, 42, 34, 0.55);
}
.hotspot:hover {
  transform: translate(-50%, -50%) scale(1.09);
}
.hotspot:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}
.hotspot__label {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--cream);
  font: 600 8px/1.2 var(--sans);
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.hotspot:hover .hotspot__label,
.hotspot:focus-visible .hotspot__label {
  opacity: 1;
}
.plan-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  font: 600 8px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.plan-legend i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--forest);
  border-radius: 50%;
  background: transparent;
}
.plan-legend i.is-on {
  background: var(--forest);
}
.plan-legend__hint {
  margin-left: auto;
  color: var(--clay-deep);
}
.plan-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border-radius: 24px;
  background: var(--forest-deep);
  color: var(--cream);
}
.plan-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.plan-panel__eyebrow {
  font: 650 8.5px/1 var(--sans);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
}
.plan-panel__badge {
  padding: 5px 8px;
  border: 1px solid rgba(247, 242, 232, 0.2);
  border-radius: 999px;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b7c7bc;
}
.plan-panel h3 {
  margin-top: 14px;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.plan-panel__desc {
  min-height: 3.9em;
  margin: 9px 0 17px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #aebcb2;
}
.plan-devices {
  display: grid;
  border-top: 1px solid rgba(247, 242, 232, 0.14);
}
.plan-device {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(247, 242, 232, 0.12);
  background: transparent;
  color: var(--cream);
  text-align: left;
  cursor: pointer;
}
.plan-device__icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: rgba(215, 232, 184, 0.12);
  color: var(--lime);
}
.plan-device__icon .icon {
  width: 14px;
  height: 14px;
}
.plan-device__text {
  min-width: 0;
}
.plan-device__text > span {
  display: block;
  font: 600 10px/1.2 var(--sans);
  color: #eef2ec;
}
.plan-device__text small {
  display: block;
  margin-top: 2px;
  font: 400 8.5px/1.3 var(--sans);
  color: #8fa398;
}
.plan-device__state {
  padding: 4px 7px;
  border: 1px solid rgba(215, 232, 184, 0.24);
  border-radius: 999px;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
}
.plan-device[aria-pressed="false"] .plan-device__icon {
  background: rgba(247, 242, 232, 0.05);
  color: #7f9388;
}
.plan-device[aria-pressed="false"] .plan-device__text > span {
  color: #b7c7bc;
}
.plan-device[aria-pressed="false"] .plan-device__state {
  border-color: rgba(247, 242, 232, 0.14);
  color: #8fa398;
}
.plan-device:hover .plan-device__text > span {
  color: var(--gold);
}
.plan-scenes {
  margin-top: 17px;
}
.plan-scenes__label {
  display: block;
  margin-bottom: 8px;
  font: 650 8px/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8fa398;
}
.plan-scenes__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.plan-scenes__buttons button {
  padding: 8px 11px;
  border: 1px solid rgba(247, 242, 232, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #d4dfd7;
  font: 600 9px/1 var(--sans);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.plan-scenes__buttons button:hover {
  border-color: rgba(215, 232, 184, 0.5);
  color: var(--cream);
}
.plan-scenes__buttons button.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--forest-ink);
}
.plan-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(247, 242, 232, 0.14);
  font-size: 0.72rem;
  line-height: 1.5;
  color: #8fa398;
}
.plan-note .icon {
  width: 12px;
  height: 12px;
  margin-top: 2px;
  color: var(--gold);
}
.blueprint-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(18, 60, 49, 0.3);
  color: var(--forest-ink);
  font: 650 10px/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.blueprint-next .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.2s var(--ease);
}
.blueprint-next:hover .icon {
  transform: translateX(3px);
}
.blueprint-foot {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}
.blueprint-foot .icon {
  width: 14px;
  height: 14px;
  color: var(--clay);
  margin-top: 2px;
}

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
  .hero h1 {
    font-size: clamp(3.2rem, 6.6vw, 5.3rem);
  }
  .float-card--ai {
    left: -12px;
    top: -46px;
  }
  .float-card--status {
    right: -10px;
  }
  .app-grid {
    grid-template-columns: 1fr 380px;
  }
}

@media (max-width: 1020px) {
  .spaces-grid {
    grid-auto-rows: 94px;
  }
  .float-card--ai {
    display: none;
  }
  .nav {
    gap: 18px;
  }
  .nav a {
    font-size: 12px;
  }
  .header__cta .btn {
    padding: 11px 15px;
    font-size: 12px;
  }
  .hero__visual {
    min-height: 640px;
  }
  .hero__sun {
    width: 410px;
    height: 410px;
    right: -20px;
  }
  .hero__arch {
    width: 410px;
    height: 590px;
  }
  .float-card {
    width: 212px;
  }
  .auto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .app-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tabs {
    flex-direction: row;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
    gap: 4px;
    padding-bottom: 14px;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    flex: none;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
  }
  .tab__num,
  .tab__desc,
  .tab > .icon {
    display: none;
  }
  .tab__title {
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
  }
  .tab:hover .tab__title {
    color: var(--ink);
  }
  .tab.is-active {
    background: var(--forest);
    border-color: var(--forest-ink);
  }
  .tab.is-active .tab__title {
    color: var(--cream);
  }
  .app-stage {
    min-height: 660px;
  }
  .app-stage .phone {
    --pw: 286px;
  }
  .app-stage::after {
    display: none;
  }
  .proof-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .proof-grid h2 {
    max-width: 16ch;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .step {
    padding: 24px 24px 28px 0;
    border-bottom: 1px solid var(--line);
  }
  .step:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .voice {
    grid-template-columns: 1fr;
  }
  .levels-grid {
    grid-template-columns: 1fr 1fr;
  }
  .levels-compare {
    grid-template-columns: 1fr;
  }
  .anything-grid {
    grid-template-columns: 1fr;
  }
  .automation-grid {
    grid-template-columns: 1fr 1fr;
  }
  .automation-list__head {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .automation-list__head > p {
    justify-self: start;
  }
  .compare-block__head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .compare-block__head > p {
    justify-self: start;
  }
  .coverage {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .coverage__item {
    padding-right: 0;
  }
  .ha-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
  .pricing-card--featured {
    transform: none;
  }
  .scenario-grid {
    grid-template-columns: 1fr;
  }
  .scenario {
    min-height: 0;
  }
  .agent {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .motion {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .motion__copy p {
    max-width: 52ch;
  }
  .stages-grid {
    grid-template-columns: 1fr;
  }
  .stage {
    min-height: 0;
  }
  .blueprint {
    grid-template-columns: 1fr;
  }
  .plan-panel {
    padding: 22px;
  }
  .plan-devices {
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
  }
  .plan-note {
    margin-top: 18px;
  }
  .header__cta,
  .nav {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .header__inner {
    gap: 12px;
  }
  .hero {
    padding-top: 116px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero__visual {
    min-height: 620px;
  }
  .hero__scroll {
    display: none;
  }
  .float-card--status {
    display: none;
  }
  .float-card--ai {
    display: none;
  }
  .section__head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section__head h2 {
    max-width: 18ch;
  }
  .manifesto__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .manifesto__label {
    padding-top: 0;
  }
  .manifesto__aside {
    padding-left: 0;
    border-left: 0;
    max-width: 46ch;
  }
  .ai-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .renter-grid {
    grid-template-columns: 1fr;
  }
  .partner-grid,
  .retrofit-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .retrofit-grid h2 {
    max-width: 17ch;
  }
  .retrofit-grid .lede {
    max-width: 54ch;
  }
  .retrofit-card {
    max-width: 620px;
  }
  .kit {
    max-width: 520px;
    transform: rotate(0.6deg);
  }
  .price-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
    gap: 14px;
  }
  .price--featured {
    transform: none;
    order: -1;
  }
  .cta__inner {
    grid-template-columns: 1fr;
  }
  .cta__card {
    max-width: 480px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .spaces-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
    gap: 10px;
  }
  .space--living {
    grid-column: span 2;
    grid-row: span 2;
  }
  .space--bedroom,
  .space--cinema,
  .space--control,
  .space--switch {
    grid-column: span 1;
    grid-row: span 1;
  }
  .space--balcony {
    grid-column: span 2;
    grid-row: span 1;
  }
  .space figcaption {
    left: 15px;
    right: 15px;
    bottom: 14px;
  }
  .space__line {
    display: none;
  }
  .plan-labels {
    display: none;
  }
  .wrap,
  .wrap--narrow {
    width: calc(100% - 40px);
  }
  .hero h1 {
    font-size: clamp(3rem, 12.4vw, 4.4rem);
  }
  .hero__sub {
    font-size: 1rem;
  }
  .hero__proof {
    gap: 8px 16px;
  }
  .hero__proof li {
    font-size: 11px;
  }
  .hero__visual {
    min-height: 580px;
  }
  .hero__sun {
    width: 330px;
    height: 330px;
    right: 0;
    top: 10px;
  }
  .hero__arch {
    width: 340px;
    height: 520px;
    bottom: 0;
  }
  .hero .phone {
    --pw: 272px;
  }
  .auto-grid {
    grid-template-columns: 1fr;
  }
  .auto-card {
    padding: 26px 22px 30px;
  }
  .auto-card__tag {
    top: 28px;
    right: 22px;
  }
  .auto-card__icon {
    margin-bottom: 22px;
  }
  .flow {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .flow__link {
    width: 1px;
    height: 34px;
    margin: 6px auto;
    overflow: hidden;
  }
  .flow__link::after {
    top: 0;
    left: -2px;
    animation: packet-v 3.4s linear infinite;
  }
  @keyframes packet-v {
    0% {
      top: -6px;
      opacity: 0;
    }
    12% {
      opacity: 1;
    }
    88% {
      opacity: 1;
    }
    100% {
      top: 100%;
      opacity: 0;
    }
  }
  .flow__node--hub {
    max-width: 260px;
    margin: 0 auto;
  }
  .flow__node {
    padding: 8px 0;
  }
  .ai-features {
    grid-template-columns: 1fr;
  }
  .compare {
    grid-template-columns: 1fr;
  }
  .tenure {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    padding: 22px 0 24px;
    border-right: 0;
  }
  .step p {
    max-width: 40ch;
  }
  .stats {
    margin-top: 28px;
  }
  .stat {
    padding: 22px 18px 20px;
  }
  .app-stage {
    min-height: 600px;
    padding: 28px 6px;
    border-radius: 26px;
  }
  .app-stage .phone {
    --pw: 266px;
  }
  .price {
    padding: 26px 22px 24px;
  }
  .care {
    align-items: flex-start;
  }
  .cta h2 {
    font-size: clamp(2.4rem, 9.6vw, 3.4rem);
  }
  .legal {
    padding: 116px 0 72px;
  }
}

@media (max-width: 560px) {
  .voice__player {
    padding: 16px;
  }
  .levels-grid {
    grid-template-columns: 1fr;
  }
  .levels-compare__card {
    padding: 20px;
  }
  .commute-card {
    padding: 16px;
  }
  .delivery-card {
    padding: 16px;
  }
  .automation-grid {
    grid-template-columns: 1fr;
  }
  .compare-table th,
  .compare-table td {
    padding: 11px 12px;
  }
  .pricing-card {
    padding: 24px 20px;
  }
  .scenario {
    padding: 22px 20px;
  }
  .agent-chat {
    padding: 15px;
  }
  .agent-chat__reply {
    margin-left: 12px;
  }
  .motion {
    padding: 14px;
    margin-bottom: 24px;
  }
  .stage {
    padding: 22px 20px;
  }
  .spaces-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .space--living,
  .space--bedroom,
  .space--cinema,
  .space--control,
  .space--switch,
  .space--balcony {
    grid-column: span 1;
    grid-row: span 1;
  }
  .space__line {
    display: block;
  }
  .plan-card {
    padding: 18px 18px 14px;
  }
  .plan-panel {
    padding: 20px 18px;
  }
  .plan-devices {
    grid-template-columns: 1fr;
  }
  .plan-device {
    padding: 9px 0;
  }
  .plan-panel__desc {
    min-height: 0;
  }
  .hotspot {
    width: 32px;
    height: 32px;
  }
  .hotspot .icon {
    width: 13px;
    height: 13px;
  }
  .plan-legend__hint {
    display: none;
  }
  .wrap,
  .wrap--narrow {
    width: calc(100% - 32px);
  }
  .hero {
    padding-top: 104px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.14em;
  }
  .hero__actions {
    gap: 12px;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__actions .text-link {
    margin-left: 2px;
  }
  .hero__visual {
    min-height: 545px;
  }
  .hero__sun {
    width: 290px;
    height: 290px;
  }
  .hero__arch {
    width: 300px;
    height: 470px;
  }
  .hero .phone {
    --pw: 252px;
  }
  .hero__skyline {
    width: 150%;
  }
  .manifesto blockquote {
    font-size: 1.72rem;
  }
  .section__head h2 {
    font-size: clamp(2.05rem, 9vw, 2.7rem);
  }
  .app-stage {
    min-height: 552px;
  }
  .app-stage .phone {
    --pw: 240px;
  }
  .ui-extra {
    display: none;
  }
  .tabs {
    gap: 3px;
  }
  .tab {
    padding: 8px 11px;
  }
  .tab__title {
    font-size: 12px;
  }
  .phone {
    border-radius: 42px;
  }
  .phone__screen {
    border-radius: 34px;
  }
  .kit {
    padding: 24px 20px 22px;
  }
  .kit__items {
    grid-template-columns: 1fr;
  }
  .retrofit-card {
    padding: 22px 18px 18px;
  }
  .retrofit-row {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 12px 0;
  }
  .retrofit-row--head {
    display: none;
  }
  .retrofit-row strong {
    font-size: 0.88rem;
  }
  .retrofit-row span {
    font-size: 0.8rem;
  }
  .retrofit-row em {
    font-size: 0.7rem;
  }
  .protocols li + li::before {
    display: none;
  }
  .protocols ul {
    gap: 8px 14px;
  }
  .kit__item {
    padding: 10px 0;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer__brand {
    grid-column: auto;
  }
  .footer__bottom {
    margin-top: 34px;
  }
}

@media (max-width: 380px) {
  .plan-badge {
    display: none;
  }
  .space__line {
    display: none;
  }
  .tabs {
    flex-wrap: wrap;
    overflow: visible;
  }
  .tab {
    padding: 7px 10px;
  }
  .tab__title {
    font-size: 11.5px;
  }
  .hero h1 {
    font-size: 2.72rem;
  }
  .hero .phone {
    --pw: 236px;
  }
  .app-stage .phone {
    --pw: 224px;
  }
  .battery {
    display: none;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen-bands,
  .screen-scan {
    animation: none;
  }
}


/* ==========================================================================
   dark theme
   ========================================================================== */
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0d1714;
  --paper-2: #14221d;
  --sand: #1a2a23;
  --ink: #f4eee2;
  --ink-2: #e7dfd1;
  --muted: #a7b4ab;
  --forest: #123c31;
  --forest-deep: #071d17;
  --forest-soft: #1d4c3e;
  --forest-ink: #d7e8b8;
  --clay: #e2a175;
  --clay-deep: #d98d60;
  --gold: #e0b56b;
  --lime: #d7e8b8;
  --cream: #f7f2e8;
  --line: rgba(247, 242, 232, 0.14);
  --line-strong: rgba(247, 242, 232, 0.26);
}
html[data-theme="dark"] body {
  background: var(--paper);
  color: var(--ink);
}
html[data-theme="dark"] .site-header.is-scrolled,
html[data-theme="dark"] .site-header.is-open {
  background: rgba(13, 23, 20, 0.9);
}
html[data-theme="dark"] .hero::before {
  background-image: linear-gradient(to right, rgba(215, 232, 184, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(215, 232, 184, 0.07) 1px, transparent 1px);
}
html[data-theme="dark"] .protocols {
  background: rgba(20, 35, 30, 0.7);
}
html[data-theme="dark"] .theme-toggle:hover {
  background: rgba(215, 232, 184, 0.1);
}
html[data-theme="dark"] .btn {
  background: var(--lime);
  border-color: var(--lime);
  color: #0d1714;
}
html[data-theme="dark"] .btn:hover {
  background: #e6f2cf;
}
html[data-theme="dark"] .btn--ghost {
  background: transparent;
  border-color: rgba(215, 232, 184, 0.4);
  color: var(--lime);
}
html[data-theme="dark"] .btn--ghost:hover {
  background: rgba(215, 232, 184, 0.08);
}
html[data-theme="dark"] .btn--light,
html[data-theme="dark"] .price--featured .btn,
html[data-theme="dark"] .pricing-card--featured .btn {
  background: var(--cream);
  border-color: var(--cream);
  color: #101613;
}
html[data-theme="dark"] .btn--light:hover,
html[data-theme="dark"] .price--featured .btn:hover,
html[data-theme="dark"] .pricing-card--featured .btn:hover {
  background: #fff;
}
html[data-theme="dark"] .pricing-card--featured {
  border-color: rgba(215, 232, 184, 0.34);
}
html[data-theme="dark"] .price--featured {
  border-color: rgba(215, 232, 184, 0.3);
}
html[data-theme="dark"] .region-switch button.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: #0d1714;
}
html[data-theme="dark"] .float-card,
html[data-theme="dark"] .compare__card--local,
html[data-theme="dark"] .agent-chat__bubble,
html[data-theme="dark"] .plan-card {
  color: #101613;
}
html[data-theme="dark"] .float-card p,
html[data-theme="dark"] .float-card__rows,
html[data-theme="dark"] .float-card__time,
html[data-theme="dark"] .compare__card--local,
html[data-theme="dark"] .agent-chat__bubble,
html[data-theme="dark"] .plan-card h3,
html[data-theme="dark"] .plan-card__eyebrow {
  color: #101613;
}
html[data-theme="dark"] .float-card__rows,
html[data-theme="dark"] .float-card__time,
html[data-theme="dark"] .plan-card__eyebrow {
  color: #5a665e;
}
html[data-theme="dark"] .float-card__label,
html[data-theme="dark"] .float-card--status .float-card__label,
html[data-theme="dark"] .float-card__rows .icon,
html[data-theme="dark"] .plan-badge {
  color: #123c31;
}
html[data-theme="dark"] .plan-badge {
  border-color: rgba(18, 60, 49, 0.22);
}
html[data-theme="dark"] .pricing-note {
  color: var(--muted);
}
html[data-theme="dark"] .mobile-menu .btn {
  color: #0d1714;
}

html[data-theme="dark"] .plan-demo {
  color: #123c31;
  border-color: rgba(18, 60, 49, 0.28);
}
html[data-theme="dark"] .plan-demo:hover {
  background: #123c31;
  color: var(--cream);
}

/* dark-mode surface fixes */
html[data-theme="dark"] .cta {
  background: #7a3b25;
}
html[data-theme="dark"] .cta__card {
  background: rgba(247, 242, 232, 0.13);
  border-color: rgba(247, 242, 232, 0.22);
}
html[data-theme="dark"] .section--ink {
  background: #071d17;
}
html[data-theme="dark"] .footer {
  background: #071d17;
  color: #c2cec5;
}
html[data-theme="dark"] .footer h3,
html[data-theme="dark"] .footer__bottom {
  color: #8fa398;
}
html[data-theme="dark"] .footer__tagline,
html[data-theme="dark"] .footer__bottom a {
  color: #a7b8ad;
}
html[data-theme="dark"] .hotspot__label {
  background: #071d17;
  color: var(--cream);
}
html[data-theme="dark"] .skip {
  background: var(--lime);
  color: #0d1714;
}
