    :root {
      --ink: #f5edd8;
      --muted: rgba(245,237,216,0.58);
      --line: rgba(201,169,110,0.16);
      --paper: #1a1408;
      --white: #2e1f0a;
      --leaf: #4e7c40;
      --leaf-dark: #3a5c30;
      --field: #c9a96e;
      --sky: #7bb0d0;
      --clay: #ca7a55;
      --ha: #18bcf2;
      --shadow: 0 18px 42px rgba(0,0,0,0.45);
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    #how, #setup, #privacy { scroll-margin-top: 96px; }

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

    img { display: block; max-width: 100%; height: auto; }
    a { color: inherit; }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(26,20,8,0.92);
      border-bottom: 1px solid rgba(201,169,110,0.12);
      backdrop-filter: blur(14px);
    }

    .nav {
      width: min(1160px, calc(100% - 32px));
      min-height: 72px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      color: var(--ink);
      text-decoration: none;
      font-weight: 800;
      font-size: 1.05rem;
    }

    .brand img { width: 36px; height: 36px; object-fit: contain; }

    .nav-links {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 22px;
      list-style: none;
      margin: 0;
      padding: 0;
      color: var(--muted);
      font-size: 0.92rem;
      font-weight: 700;
    }

    .nav-links a {
      display: inline-flex;
      align-items: center;
      min-height: 32px;
      text-decoration: none;
    }

    .nav-links a:hover { color: #8ab87a; }
    .nav-links a.active { color: #8ab87a; }

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

    /* Hero */
    .hero {
      position: relative;
      overflow: hidden;
      border-bottom: 1px solid var(--line);
      background:
        radial-gradient(1100px 520px at 88% -10%, rgba(24, 188, 242, 0.16), transparent 60%),
        linear-gradient(180deg, #0e1f17 0%, #133626 60%, #3a5c30 100%);
      color: #eafaf2;
    }

    .hero-inner {
      width: min(1160px, calc(100% - 32px));
      margin: 0 auto;
      padding: 84px 0 76px;
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
      gap: 48px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 18px;
      color: #bff0ff;
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.09em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 34px;
      height: 3px;
      background: var(--ha);
      border-radius: 2px;
    }

    .hero h1 {
      max-width: 620px;
      margin-bottom: 20px;
      font-size: clamp(2.6rem, 6vw, 4.4rem);
      line-height: 1.0;
      letter-spacing: -0.01em;
    }

    .hero h1 em { color: #6fe0ff; font-style: normal; }

    .hero-copy {
      max-width: 560px;
      margin-bottom: 28px;
      color: rgba(234, 250, 242, 0.82);
      font-size: 1.18rem;
    }

    .button-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 0 20px;
      border-radius: 7px;
      border: 1px solid var(--ha);
      color: #042b38;
      background: var(--ha);
      text-decoration: none;
      font-weight: 850;
    }

    .button:hover { background: #46cdfb; border-color: #46cdfb; }

    .button.secondary {
      color: #eafaf2;
      background: transparent;
      border-color: rgba(234, 250, 242, 0.34);
    }

    .button.secondary:hover {
      background: rgba(234, 250, 242, 0.08);
      border-color: rgba(234, 250, 242, 0.7);
    }

    /* HA device card mock */
    .ha-card {
      border-radius: 14px;
      background: #2e1f0a;
      color: var(--ink);
      box-shadow: 0 26px 60px rgba(0, 0, 0, 0.36);
      overflow: hidden;
      border: 1px solid rgba(201,169,110,0.5);
    }

    .ha-card-head {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px 18px;
      background: #2e1f0a;
      border-bottom: 1px solid rgba(201,169,110,0.16);
    }

    .ha-dot {
      width: 38px;
      height: 38px;
      border-radius: 9px;
      display: grid;
      place-items: center;
      background: var(--ha);
      color: #042b38;
      font-weight: 900;
      font-size: 0.78rem;
      letter-spacing: 0.02em;
    }

    .ha-card-head strong { display: block; font-size: 0.98rem; }
    .ha-card-head span { color: var(--muted); font-size: 0.8rem; }

    .ha-rows { padding: 6px 8px 10px; }

    .ha-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 11px 12px;
      border-radius: 8px;
    }

    .ha-row + .ha-row { border-top: 1px solid rgba(201,169,110,0.16); }
    .ha-row:hover { background: #2e1f0a; }

    .ha-row-label { display: flex; align-items: center; gap: 11px; font-size: 0.92rem; }

    .ha-ico {
      width: 30px;
      height: 30px;
      border-radius: 8px;
      display: grid;
      place-items: center;
      background: #2e1f0a;
      color: #8ab87a;
      font-size: 0.95rem;
    }

    .ha-val { font-weight: 800; font-size: 0.95rem; white-space: nowrap; }
    .ha-val small { color: var(--muted); font-weight: 700; }

    .ha-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.72rem;
      font-weight: 800;
      color: #8ab87a;
    }

    .ha-pill::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #8ab87a;
      box-shadow: 0 0 0 3px rgba(138,184,122,0.18);
    }

    /* Sections */
    .section { padding: 76px 0; }
    .section.white { background: var(--white); }
    .wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

    .section-head { max-width: 760px; margin-bottom: 38px; }
    .section-head .eyebrow { color: #8ab87a; }
    .section-head .eyebrow::before { background: var(--field); }

    h2 { font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.05; margin-bottom: 14px; }
    .section-head p { margin: 0; color: var(--muted); font-size: 1.1rem; }

    /* Trust strip */
    .trust {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--line);
    }

    .trust div { background: var(--white); padding: 22px 20px; }
    .trust strong { display: block; color: #8ab87a; font-size: 1.05rem; margin-bottom: 4px; }
    .trust span { color: var(--muted); font-size: 0.92rem; }

    /* Flow diagram */
    .flow {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      margin-top: 6px;
    }

    .flow-step {
      position: relative;
      padding: 22px 18px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--white);
      box-shadow: 0 10px 26px rgba(0,0,0,0.06);
    }

    .flow-step .ic {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      margin-bottom: 14px;
      background: #2e1f0a;
      color: #8ab87a;
      font-size: 1.2rem;
    }

    .flow-step:nth-child(4) .ic { background: #2e1f0a; color: #0b87b8; }
    .flow-step h3 { font-size: 1.04rem; margin-bottom: 6px; }
    .flow-step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

    .flow-step::after {
      content: "\2192";
      position: absolute;
      top: 50%;
      right: -12px;
      transform: translateY(-50%);
      color: var(--field);
      font-size: 1.5rem;
      font-weight: 900;
      z-index: 2;
    }

    .flow-step:last-child::after { display: none; }

    /* Steps (numbered) */
    .steps { display: grid; gap: 16px; max-width: 880px; }

    .step {
      display: grid;
      grid-template-columns: 46px 1fr;
      gap: 16px;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--line);
    }

    .step:last-child { border-bottom: 0; padding-bottom: 0; }

    .step-num {
      display: inline-flex;
      width: 46px;
      height: 46px;
      align-items: center;
      justify-content: center;
      border-radius: 9px;
      color: #f5edd8;
      background: var(--leaf);
      font-weight: 900;
    }

    .step h3 { margin-bottom: 4px; font-size: 1.1rem; }
    .step p { margin: 0; color: var(--muted); }
    .step code {
      background: #2e1f0a;
      border: 1px solid var(--line);
      border-radius: 5px;
      padding: 1px 6px;
      font-size: 0.86em;
    }

    /* Two-column copy */
    .split {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
    }

    .panel {
      padding: 26px;
      border-radius: 10px;
      border: 1px solid var(--line);
      background: var(--white);
    }

    .panel h3 { font-size: 1.2rem; margin-bottom: 8px; }
    .panel p { margin: 0; color: var(--muted); }
    .panel ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
    .panel li { margin-bottom: 6px; }

    /* CTA */
    .cta-band {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 24px;
      align-items: center;
      padding: 36px;
      border-radius: 12px;
      color: #f5edd8;
      background: #241a08;
    }

    .cta-band h2 { margin-bottom: 8px; font-size: 1.9rem; }
    .cta-band p { max-width: 660px; margin: 0; color: rgba(245,237,216,0.74); }

    /* Footer */
    .footer {
      padding: 30px 0;
      color: var(--muted);
      background: var(--white);
      border-top: 1px solid var(--line);
      font-size: 0.9rem;
    }

    .footer-inner {
      width: min(1160px, calc(100% - 32px));
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: center;
      justify-content: space-between;
    }

    .footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
    .footer-links a { color: var(--muted); text-decoration: none; font-weight: 750; }
    .footer-links a:hover { color: #8ab87a; }

    @media (max-width: 1000px) {
      .hero-inner { grid-template-columns: 1fr; gap: 36px; }
      .trust { grid-template-columns: repeat(2, 1fr); }
      .flow { grid-template-columns: repeat(2, 1fr); }
      .flow-step:nth-child(2)::after { display: none; }
    }

    @media (max-width: 760px) {
      .section { padding: 56px 0; }
      .nav { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 0; }
      .nav-links { gap: 10px 16px; font-size: 0.86rem; }
      .split { grid-template-columns: 1fr; }
      .cta-band { grid-template-columns: 1fr; padding: 26px; }
      .button { width: 100%; }
    }

    @media (max-width: 560px) {
      .trust, .flow { grid-template-columns: 1fr; }
      .flow-step::after { display: none; }
    }
    h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
