@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-latin-variable.6c18d579fd87.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin-variable.3100e775e861.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f5f4f0;
  --quiet: #edece5;
  --paper: #fff;
  --ink: #23282b;
  --mut: #505d5e;
  --line: #cdd3cb;
  --field-line: #718281;
  --link: #11665d;
  --mark: #1f8478;
  --tint: #dcece6;
  --accent: #166e65;
  --accent-hover: #11594f;
  --clay: #9b5332;
  --clay-text: #803f26;
  --warm: #f3e4da;
  --focus: #966148;
  --radius: 18px;
  --heading: Outfit, system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #192022;
  --quiet: #20292a;
  --paper: #263033;
  --ink: #f1f2ec;
  --mut: #bac8c5;
  --line: #445556;
  --field-line: #758985;
  --link: #91d8c9;
  --mark: #73c8b9;
  --tint: #283f3d;
  --clay-text: #ffc3a4;
  --warm: #4a352e;
  --focus: #f0ad88;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #192022;
    --quiet: #20292a;
    --paper: #263033;
    --ink: #f1f2ec;
    --mut: #bac8c5;
    --line: #445556;
    --field-line: #758985;
    --link: #91d8c9;
    --mark: #73c8b9;
    --tint: #283f3d;
    --clay-text: #ffc3a4;
    --warm: #4a352e;
    --focus: #f0ad88;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.6 var(--body); }
h1, h2, h3 { margin: 0 0 .45em; font-family: var(--heading); line-height: 1.07; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.25vw, 4.9rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.7rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 67ch; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.symbols { position: absolute; pointer-events: none; }
.skip-link { position: fixed; z-index: 20; inset: 8px auto auto 8px; padding: 12px 16px; background: var(--paper); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.in { width: 100%; max-width: 1192px; margin-inline: auto; }
.narrow, .doc { max-width: 760px; }
.band { padding: clamp(48px, 6vw, 88px) var(--gutter); }
.page-hd { padding-bottom: 0; }
.quiet { background-color: var(--quiet); }
.mut, .lead { color: var(--mut); }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); max-width: 56ch; }
.small { font-size: .875rem; }
.eyebrow { display: block; width: fit-content; margin-bottom: .65rem; color: var(--link); font-weight: 600; font-size: .875rem; letter-spacing: .075em; text-transform: uppercase; }
.draft { background: var(--clay); color: #fff; text-align: center; padding: 7px 12px; font-size: .875rem; }

.header { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.hd { display: grid; align-items: center; grid-template-columns: auto 1fr auto; gap: 22px; max-width: calc(1192px + var(--gutter) * 2); padding: 10px var(--gutter); }
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; width: fit-content; color: var(--ink); font: 700 2rem/1 var(--heading); letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.brand svg { width: 31px; height: 29px; }
#site-nav { display: flex; justify-content: center; gap: 2px; }
#site-nav a, .footer-grid a:not(.brand) { display: flex; align-items: center; min-height: 44px; }
#site-nav a { padding-inline: 10px; border-radius: 8px; color: var(--ink); font-size: .925rem; font-weight: 500; white-space: nowrap; text-decoration: none; }
#site-nav a:hover, #site-nav a[aria-current="page"] { background: var(--tint); color: var(--link); }
.nav-toggle, .theme-toggle { min-height: 44px; padding-inline: 12px; border: 1px solid var(--field-line); border-radius: 8px; background: var(--bg); color: var(--ink); font-weight: 600; }
.nav-toggle[aria-expanded="true"], .theme-toggle[aria-pressed="true"] { background: var(--tint); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid transparent; border-radius: 9px; padding: 9px 16px; background: var(--accent); color: #fff; font-weight: 600; line-height: 1.35; text-align: center; text-decoration: none; }
.btn:hover { background: var(--accent-hover); }
.btn.alt { background: transparent; color: var(--ink); border-color: var(--field-line); }
.btn.alt:hover { background: var(--tint); color: var(--ink); }
.btn:disabled { cursor: progress; }
.header .btn { white-space: nowrap; }
.cta, .product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 1.4rem; }
.text-action, .product-actions > a, .card > a { display: inline-flex; align-items: center; min-height: 44px; }

.split, .signup-band { display: grid; align-items: center; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 5vw, 68px); }
.top-aligned { align-items: start; }
.home-hero { padding-top: clamp(44px, 4.7vw, 68px); padding-bottom: clamp(28px, 4vw, 56px); }
.home-hero h1 { font-size: clamp(2.6rem, 4.5vw, 4.1rem); }
.home-hero .lead { margin-bottom: 0; }
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: clamp(28px, 3vw, 44px) 0 0; padding: 0; list-style: none; }
.proof li { display: grid; gap: 2px; border-top: 1px solid var(--line); padding: 10px 0; }
.proof li:last-child { padding-bottom: 0; }
.proof b { font: 600 1.25rem/1.2 var(--heading); }
.proof span { color: var(--mut); font-size: .9rem; }

.scene { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.room-plan { display: block; width: 100%; height: auto; }
.scene-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); font-size: .875rem; }
.scene-notes span { padding: 10px 14px; text-align: center; color: var(--mut); }
.scene-notes span + span { border-left: 1px solid var(--line); }
.scene-notes b { display: block; color: var(--ink); }
.scene-key { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--line); color: var(--mut); font-size: .875rem; }
.scene-key::before { content: ""; width: 18px; border-top: 2px dashed var(--link); }

.grid2, .grid3 { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { min-width: 0; padding: clamp(18px, 2.2vw, 27px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.card p { color: var(--mut); }
.card p:last-child { margin-bottom: 0; }
.card svg.ic { width: 52px; height: 42px; display: block; }
.chip { display: inline-block; width: fit-content; padding: 3px 9px; border-radius: 6px; background: var(--tint); color: var(--link); font-size: .8125rem; font-weight: 600; }
.chip.c { color: var(--clay-text); background: var(--warm); }

.product-grid, .preset-grid { margin-top: 1.7rem; }
.product-card { display: flex; flex-direction: column; align-items: start; }
.product-card-head { display: flex; align-items: center; justify-content: space-between; align-self: stretch; margin-bottom: 12px; }
.product-actions { margin-top: auto; padding-top: 12px; }
.product-facts { align-self: stretch; margin: .4rem 0 1rem; font-size: .875rem; }
.product-facts div { display: grid; grid-template-columns: 6em 1fr; gap: 6px; border-top: 1px solid var(--line); padding-block: 6px; }
.product-facts dt { font-weight: 600; }
.product-facts dd { margin: 0; color: var(--mut); }
.price-options { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); max-width: 480px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.price-options > div { min-width: 0; padding: 12px clamp(10px, 2.2vw, 20px); }
.price-options > div + div { border-left: 1px solid var(--line); }
.price-options p { margin: 0; font-size: .875rem; line-height: 1.4; }
.price-options .price { font: 700 clamp(1.8rem, 3.7vw, 2.65rem)/1.14 var(--heading); letter-spacing: -.04em; }
.price-options .price-saving { margin-top: 5px; color: var(--link); font-weight: 600; }
.mockup { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.mockup img { display: block; width: 100%; height: auto; }
.mockup figcaption { padding: 12px 16px; color: var(--mut); font-size: .875rem; }
.proxy { display: flex; align-items: flex-start; gap: 16px; border-color: var(--mark); }
.proxy svg { flex: 0 0 26px; width: 26px; fill: none; stroke: var(--link); stroke-width: 2.5; }
.proxy h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }

.dark, footer { --ink: #f5f4f0; --mut: #c4d0cc; --link: #a3e8da; --mark: #82d3c5; --line: #465757; --field-line: #7b918c; --paper: #273435; --tint: #354a48; --warm: #4a352e; --clay-text: #ffccb0; --focus: #ffbc98; --bg: #212c2d; background: var(--bg); color: var(--ink); }
.teal { --ink: #fff; --mut: #fff; --link: #fff; --focus: #fff; background: var(--accent); color: #fff; }
.teal p, .teal a { color: #fff; }
.teal .btn { background: #202e2f; }
.teal .btn:hover { background: #152022; }
.signup-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.signup-band p:last-child { margin-bottom: 0; }
.inline-fields { display: flex; gap: 8px; }
.inline-fields input { flex: 1; min-width: 0; }
.inline-fields button { flex: none; }
.inline-waitlist label { display: block; margin-bottom: 5px; }
.inline-waitlist p.small { margin-top: 8px; }

form .row { padding: 0; border: 0; margin: 0 0 16px; min-width: 0; }
form .row > label { display: block; margin-bottom: 6px; }
label, legend { font-weight: 600; font-size: .9375rem; }
legend { margin-bottom: 6px; padding: 0; }
input[type="email"], input[type="text"], select, textarea { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--field-line); border-radius: 8px; background: var(--paper); color: var(--ink); }
.teal input { background: #fff; color: #23282b; }
input::placeholder { color: var(--mut); opacity: 1; }
.teal input::placeholder { color: #515a5a; }
textarea { resize: vertical; }
.checks { display: flex; gap: 8px; flex-wrap: wrap; }
.checks label { display: flex; align-items: center; min-height: 44px; gap: 8px; padding: 4px 9px; border: 1px solid var(--field-line); border-radius: 8px; cursor: pointer; font-weight: 500; }
.checks label:has(input:checked) { background: var(--tint); }
.checks input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--accent); }
.msg { margin: 10px 0 0; color: var(--link); font-weight: 600; }
.msg:empty { margin: 0; }
.msg[data-error] { color: var(--clay-text); }
.teal .msg[data-error] { color: #fff; }
.waitlist-card .small { margin-top: 12px; }
.waitlist-card .small a, .inline-waitlist .small a { display: inline-flex; align-items: center; min-height: 44px; }

.spec, .mx { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.spec th, .spec td, .mx th, .mx td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.spec th { width: 30%; font-weight: 600; }
.scroll { max-width: 100%; overflow-x: auto; }
.steps { counter-reset: step; display: grid; gap: 16px; padding: 0; margin: 24px 0; list-style: none; }
.setup-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.review-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 33px; height: 33px; margin-bottom: 14px; border-radius: 50%; background: var(--tint); color: var(--link); font: 700 1.125rem var(--heading); }
.steps h2, .steps h3 { font-size: 1.3rem; }
@media (max-width: 900px) { .setup-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .setup-steps, .review-steps { grid-template-columns: minmax(0, 1fr); } }
.faq { display: grid; gap: 0 32px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 600; }
.faq details p { color: var(--mut); padding-left: 18px; }
.doc h2 { margin-top: 1.2em; }
.doc li { margin-bottom: .4em; }
.note { margin: 1.3rem 0; padding: 12px 16px; background: var(--warm); color: var(--ink); border-left: 4px solid var(--clay); border-radius: 0 8px 8px 0; }
.code-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 7px; }
.copy { min-height: 44px; padding: 6px 12px; }
pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; background: #182121; color: #eef3eb; border: 1px solid var(--line); border-radius: 10px; padding: 16px; font: .875rem/1.55 ui-monospace, monospace; margin: 0 0 16px; }
code { overflow-wrap: anywhere; font: .92em ui-monospace, monospace; }

.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 18px; }
.footer-grid h2 { font: 600 1rem/1.3 var(--body); letter-spacing: normal; margin: 10px 0 4px; }
.footer-grid p { color: var(--mut); }
.footer-grid a:not(.brand) { color: var(--ink); font-size: .925rem; text-decoration: none; }
.footer-grid a:not(.brand):hover { text-decoration: underline; }
.footer-grid a[aria-current="page"] { color: var(--link); text-decoration: underline; }

@media (max-width: 1000px) {
  .hd { grid-template-columns: 1fr auto auto; gap: 8px; }
  .header .btn { grid-column: 3; grid-row: 1; }
  #site-nav { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 8px; }
  #site-nav a { white-space: normal; }
}
@media (max-width: 780px) {
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .split, .signup-band { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 550px) {
  .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); }
  #site-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header .btn { padding-inline: 10px; font-size: .875rem; }
  .brand { font-size: 1.75rem; }
  .brand svg { width: 27px; }
  .scene-notes span { padding-inline: 6px; }
  .cta { margin-top: 1.1rem; }
}
@media (max-width: 340px) {
  .inline-fields { flex-wrap: wrap; }
  .inline-fields input { flex-basis: 100%; }
}

.network-map { max-width: 920px; margin: 24px 0 0; }
.network {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--link);
}
.network-title { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.network-node { align-self: stretch; display: grid; place-content: center; padding: 12px 10px; border: 1px solid var(--field-line); border-radius: 10px; background: var(--paper); color: var(--ink); text-align: center; }
.network-node small { color: var(--mut); font-size: .875rem; }
.network-arrow { font-size: 1.2rem; font-weight: 700; }
.network-map figcaption { margin-top: 8px; color: var(--mut); font-size: .875rem; }
@media (max-width: 620px) {
  .network { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .network-arrow { justify-self: center; transform: rotate(90deg); }
}

a.card { color: var(--ink); text-decoration: none; }
a.card:hover h3 { color: var(--link); text-decoration: underline; text-underline-offset: .18em; }
.mx th:first-child { width: 24%; }
.mx th:last-child { width: 20%; }
@media (max-width: 550px) {
  .mx { font-size: .875rem; }
  .mx th, .mx td { padding-right: 8px; }
  .mx .chip { padding-inline: 4px; font-size: .75rem; }
}
