@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/inter-latin.woff2') format('woff2');
}

:root {
  --ink: #151515;
  --ink-2: #4f4c47;
  --ink-3: #6b675f;
  --paper: #ffffff;
  --canvas: #fcfaf5;
  --soft: #f4f0e7;
  --soft-2: #ede8dc;
  --line: #e8e4dc;
  --line-2: #f0ece4;
  --brand: #151515;
  --brand-2: #262626;
  --brand-ink: #000000;
  --accent: #dda72c;
  --accent-strong: #c58e18;
  --accent-hover: #e8bc58;
  --accent-soft: #faebc4;
  --accent-bg: #faebc4;
  --ok: #267a58;
  --ok-bg: #edf7f2;
  --warn: #a86713;
  --warn-bg: #fff6e7;
  --err: #b83a32;
  --err-bg: #fdeeee;
  --inverse: #171717;
  --inverse-ink: #ffffff;
  --inverse-muted: #b9b9b9;
  --inverse-dim: #77736c;
  --inverse-raised: #202020;
  --inverse-line: #343434;
  --line-strong: #d8d3c6;
  --accent-line: #f3d995;
  --accent-ink: #6f4a06;
  --ok-line: #cfe6d8;
  --warn-line: #efdfbe;
  --warn-ink: #6b4508;
  --err-line: #f1d3cf;
  --info-bg: #eff5f8;
  --info-line: #d3e3ec;

  --layer-parcel: #6e746f;
  --layer-footprint: #c49a45;
  --layer-roof: #9b6f42;
  --layer-facade: #b58e63;
  --layer-opening: #537c73;
  --layer-uncertain: #c28a36;
  --map-neighbour: #e2ded3;
  --pack-windows: #b08a3e;
  --pack-roofs: #4a5560;
  --pack-facades: #a8805e;
  --tenant-sample: #3d5a73;

  --font: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --t-hero: clamp(2.75rem, 1.6rem + 3.4vw, 4.5rem);
  --t-display: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  --t-h2: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem);
  --t-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.375rem);
  --t-lead: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-micro: 0.8125rem;

  --lh-tight: 1.08;
  --lh-head: 1.18;
  --lh-body: 1.65;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;
  --section-y: clamp(56px, 4vw + 32px, 112px);
  --gutter: 20px;
  --maxw: 1280px;
  --maxw-text: 68ch;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(21, 21, 21, 0.04);
  --shadow-md: 0 4px 12px rgba(21, 21, 21, 0.06);
  --shadow-lg: 0 12px 32px rgba(21, 21, 21, 0.08);

  --btn-h-sm: 38px;
  --btn-h: 46px;
  --btn-h-lg: 54px;
  --input-h: 48px;

  --dur-fast: 120ms;
  --dur: 200ms;
  --dur-slow: 420ms;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  --bp-sm: 560px;
  --bp-md: 820px;
  --bp-lg: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink-2);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.022em;
  margin: 0 0 var(--sp-4);
}
h1 {
  font-size: var(--t-hero);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 680;
}
h2 {
  font-size: var(--t-h2);
  line-height: var(--lh-head);
  letter-spacing: -0.026em;
}
h3 {
  font-size: var(--t-h3);
  line-height: 1.3;
}
p {
  margin: 0 0 var(--sp-4);
  max-width: var(--maxw-text);
}
ul,
ol {
  margin: 0 0 var(--sp-4);
  padding-left: 1.25em;
}
li {
  margin-bottom: var(--sp-2);
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
strong {
  color: var(--ink);
  font-weight: 620;
}
small {
  font-size: var(--t-small);
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-7) 0;
}
code,
kbd,
pre {
  font-family: var(--mono);
  font-size: 0.875em;
}

a {
  color: var(--brand-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--brand);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.skip {
  position: absolute;
  left: var(--sp-4);
  top: -60px;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  transition: top var(--dur) var(--ease);
}
.skip:focus {
  top: var(--sp-4);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow {
  max-width: 780px;
}
.section {
  padding: var(--section-y) 0;
}
.section--soft {
  background: var(--soft);
}
.section--line {
  border-top: 1px solid var(--line);
}

.section--attached {
  padding-top: 0;
}
.section--dark {
  background: var(--inverse);
  color: var(--inverse-muted);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--inverse-ink);
}
.section--dark a {
  color: var(--inverse-ink);
}

.section:not(.section--soft):not(.section--dark):not(.section--line)
  + .section:not(.section--soft):not(.section--dark):not(.section--line),
.section--soft + .section--soft:not(.section--line),
.section--dark + .section--dark:not(.section--line) {
  padding-top: 0;
}

.section--soft,
.section--dark {
  --section-y: clamp(64px, 4.6vw + 34px, 124px);
}

.section:not(.section--soft):not(.section--dark):not(.hero) {
  --section-y: clamp(48px, 3.4vw + 28px, 96px);
}

.stack > * + * {
  margin-top: var(--sp-4);
}
.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid > *,
.split > * {
  min-width: 0;
}
@media (min-width: 560px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 820px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid-2\@md {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 560px) and (max-width: 819px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.split {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--sp-8);
  }
}
@media (min-width: 900px) {
  .split--rev > :first-child {
    order: 2;
  }
}
.split--top {
  align-items: start;
}

.eyebrow {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin: 0 0 var(--sp-3);
}
.section--dark .eyebrow {
  color: var(--inverse-muted);
}
.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-2);
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(28px, 1.8vw + 18px, 52px);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.muted {
  color: var(--ink-3);
}
.t-small {
  font-size: var(--t-small);
}
.t-micro {
  font-size: var(--t-micro);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: var(--btn-h);
  padding: 0 var(--sp-5);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font: inherit;
  font-size: var(--t-small);
  font-weight: 580;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--ink);
}
.btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--line-strong);
  background: var(--soft);
  color: var(--ink);
}
.btn--quiet {
  background: transparent;
  color: var(--ink);
  padding: 0 var(--sp-3);
}
.btn--quiet:hover {
  background: var(--soft-2);
  color: var(--ink);
}
.btn--lg {
  height: var(--btn-h-lg);
  padding: 0 var(--sp-6);
  font-size: var(--t-body);
}
.btn--sm {
  height: var(--btn-h-sm);
  padding: 0 var(--sp-4);
  font-size: var(--t-micro);
}
.btn--block {
  width: 100%;
}
.btn[aria-disabled='true'],
.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}
.section--dark .btn--ghost {
  background: transparent;
  color: var(--inverse-ink);
  border-color: var(--inverse-line);
}
.section--dark .btn--ghost:hover {
  background: var(--inverse-raised);
  color: var(--inverse-ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.card h3 {
  margin-bottom: var(--sp-2);
}
.card p:last-child {
  margin-bottom: 0;
}
.card--link:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card--flat {
  border-radius: var(--r-md);
}
.card--pad-lg {
  padding: var(--sp-6);
}
.section--soft .card {
  background: var(--paper);
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-4);
  background: var(--soft-2);
  color: var(--brand);
}
.card-icon svg {
  width: 20px;
  height: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-micro);
  font-weight: 560;
  line-height: 1;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  background: var(--soft-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.badge--accent {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-color: var(--accent-line);
}
.badge--ok {
  background: var(--ok-bg);
  color: var(--ok);
  border-color: var(--ok-line);
}
.badge--warn {
  background: var(--warn-bg);
  color: var(--warn);
  border-color: var(--warn-line);
}
.badge--err {
  background: var(--err-bg);
  color: var(--err);
  border-color: var(--err-line);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.nav[data-stuck='1'] {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 660;
  letter-spacing: -0.02em;
}
.brand:hover {
  color: var(--ink);
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: var(--inverse-ink);
  flex: none;
}
.brand-mark svg {
  width: 17px;
  height: 17px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-links a,
.nav-links button {
  font: inherit;
  font-size: var(--t-small);
  font-weight: 520;
  color: var(--ink-2);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.nav-links a:hover,
.nav-links button:hover {
  background: var(--soft-2);
  color: var(--ink);
}
.nav-links a[aria-current='page'] {
  color: var(--ink);
  font-weight: 600;
}
.nav-actions {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  margin-left: var(--sp-4);
}
@media (min-width: 1040px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }
}

.nav-toggle {
  margin-left: auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  color: var(--ink);
}
.nav-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: var(--sp-4) 0 var(--sp-6);
}
.nav-panel[data-open='1'] {
  display: block;
}
@media (min-width: 1040px) {
  .nav-toggle {
    display: none;
  }
}
@media (min-width: 1040px) {
  .nav-panel {
    display: none !important;
  }
}
.nav-panel a {
  display: block;
  padding: 12px 4px;
  font-size: var(--t-body);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
}
.nav-panel .btn-row {
  margin-top: var(--sp-5);
}

.nav-menu {
  position: relative;
}
.nav-drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 300px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-3);
  display: none;
}

.nav-menu[data-open='1']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}
.nav-menu[data-open='1'] .nav-drop {
  display: grid;
  gap: 2px;
}
.nav-drop a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r-sm);
}
.nav-drop .nd-title {
  display: block;
  color: var(--ink);
  font-weight: 580;
  font-size: var(--t-small);
}
.nav-drop .nd-sub {
  display: block;
  color: var(--ink-3);
  font-size: var(--t-micro);
  line-height: 1.4;
}

.hero {
  padding: clamp(48px, 5vw, 92px) 0 var(--section-y);
}
.hero h1 {
  max-width: 19ch;
  text-wrap: balance;
}
.hero .lead {
  max-width: 54ch;
  margin-bottom: var(--sp-6);
}
.hero-note {
  font-size: var(--t-micro);
  color: var(--ink-3);
  margin-top: var(--sp-4);
}

.shot {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
  background: var(--soft);
}
.shot-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}
.shot-url {
  margin-left: 10px;
  font-size: var(--t-micro);
  color: var(--ink-3);
  font-family: var(--mono);
}
.shot-body {
  padding: var(--sp-5);
  display: grid;
  gap: var(--sp-4);
}

.strip {
  display: grid;
  gap: var(--sp-5);
}
@media (min-width: 720px) {
  .strip {
    grid-template-columns: repeat(4, 1fr);
  }
}
.strip-item {
  border-left: 2px solid var(--line);
  padding-left: var(--sp-4);
}
.strip-item strong {
  display: block;
  color: var(--ink);
  font-size: var(--t-small);
  margin-bottom: 2px;
}
.strip-item span {
  font-size: var(--t-small);
  color: var(--ink-3);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: var(--sp-5);
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
.step {
  position: relative;
  padding-left: 56px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: var(--t-micro);
  font-weight: 600;
  color: var(--brand);
  background: var(--soft-2);
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
}
.step h3 {
  margin-bottom: var(--sp-2);
  font-size: var(--t-h3);
}
.step p {
  margin-bottom: 0;
  font-size: var(--t-small);
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-3);
}
.checks li {
  position: relative;
  padding-left: 30px;
  margin: 0;
  font-size: var(--t-small);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--brand-2);
  border-bottom: 2px solid var(--brand-2);
  transform: rotate(-45deg);
}
.section--dark .checks li::before {
  border-color: var(--inverse-muted);
}
.checks--tight li {
  font-size: var(--t-micro);
}

.dl {
  display: grid;
  gap: var(--sp-4);
  margin: 0;
}
.dl div {
  border-top: 1px solid var(--line);
  padding-top: var(--sp-4);
}
.dl dt {
  color: var(--ink);
  font-weight: 580;
  font-size: var(--t-small);
  margin-bottom: 4px;
}
.dl dd {
  margin: 0;
  font-size: var(--t-small);
  color: var(--ink-2);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-small);
  background: var(--paper);
}
table.data th,
table.data td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
table.data th {
  color: var(--ink);
  font-weight: 580;
  background: var(--soft);
  white-space: nowrap;
}
table.data tr:last-child td {
  border-bottom: 0;
}

.plans {
  display: grid;
  gap: var(--sp-5);
  align-items: stretch;
}
@media (min-width: 720px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .plans {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-4);
  }
}
.plan {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan[data-highlight='1'] {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.plan-flag {
  min-height: 26px;
  margin-bottom: var(--sp-3);
}
.plan-name {
  font-size: var(--t-h3);
  margin-bottom: var(--sp-1);
}
.plan-tag {
  font-size: var(--t-micro);
  color: var(--ink-3);
  margin-bottom: var(--sp-4);
  min-height: 2.6em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--sp-1);
}
.plan-price b {
  font-size: 2rem;
  color: var(--ink);
  font-weight: 660;
  letter-spacing: -0.03em;
}
.plan-price span {
  font-size: var(--t-micro);
  color: var(--ink-3);
}
.plan-meta {
  font-size: var(--t-micro);
  color: var(--ink-3);
  margin-bottom: var(--sp-5);
  min-height: 3em;
}
.plan .btn {
  margin-bottom: var(--sp-5);
}
.plan .checks {
  margin-top: 0;
}

.toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--soft-2);
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
}
.toggle button {
  font: inherit;
  font-size: var(--t-micro);
  font-weight: 560;
  color: var(--ink-2);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.toggle button[aria-pressed='true'] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--sp-5) 40px var(--sp-5) 0;
  font-size: var(--t-h3);
  font-weight: 580;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq .faq-body {
  padding: 0 0 var(--sp-5);
}
.faq .faq-body p:last-child {
  margin-bottom: 0;
}

.form {
  display: grid;
  gap: var(--sp-4);
}
.field {
  display: grid;
  gap: 6px;
}
.field > label {
  font-size: var(--t-small);
  font-weight: 560;
  color: var(--ink);
}
.field .hint {
  font-size: var(--t-micro);
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: var(--t-small);
  color: var(--ink);
  height: var(--input-h);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  width: 100%;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.field textarea {
  height: auto;
  min-height: 130px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.55;
}
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 21px,
    calc(100% - 14px) 21px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
  outline: none;
}
.field[data-invalid='1'] input,
.field[data-invalid='1'] select {
  border-color: var(--err);
}
.field .error {
  font-size: var(--t-micro);
  color: var(--err);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--t-small);
}
.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--brand);
}
.form-row {
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 620px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--sp-5);
}
legend {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0;
  margin-bottom: var(--sp-4);
}

fieldset > * + * {
  margin-top: var(--sp-4);
}

.notice {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--t-small);
  background: var(--soft);
  color: var(--ink-2);
  max-width: 76ch;
}
.notice--info {
  background: var(--info-bg);
  border-color: var(--info-line);
}
.notice--ok {
  background: var(--ok-bg);
  border-color: var(--ok-line);
  color: var(--ok);
}
.notice--warn {
  background: var(--warn-bg);
  border-color: var(--warn-line);
  color: var(--warn-ink);
}
.notice--err {
  background: var(--err-bg);
  border-color: var(--err-line);
  color: var(--err);
}
.notice strong {
  color: inherit;
}
.notice p:last-child {
  margin-bottom: 0;
}

.code {
  background: var(--inverse);
  color: var(--inverse-ink);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  margin: 0 0 var(--sp-4);
}
.code .c-tag {
  color: var(--inverse-muted);
}
.code .c-str {
  color: var(--accent-hover);
}
.code .c-cmt {
  color: var(--inverse-dim);
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  background: var(--inverse-raised);
  color: var(--inverse-muted);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 10px var(--sp-5);
  font-size: var(--t-micro);
  font-family: var(--mono);
  border-bottom: 1px solid var(--inverse-line);
}
.code-head + .code {
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  margin-top: 0;
}
.copy {
  font: inherit;
  font-size: var(--t-micro);
  background: none;
  border: 1px solid var(--inverse-line);
  color: var(--inverse-ink);
  border-radius: var(--r-sm);
  padding: 4px 10px;
  cursor: pointer;
}
.copy:hover {
  background: var(--inverse-line);
}

.crumbs {
  font-size: var(--t-micro);
  color: var(--ink-3);
  padding: var(--sp-5) 0 0;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.crumbs li {
  margin: 0;
}
.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--line-strong);
}
.crumbs a {
  color: var(--ink-3);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--brand-2);
  text-decoration: underline;
}

.cta {
  background: var(--inverse);
  color: var(--inverse-muted);
  border-radius: var(--r-xl);
  padding: clamp(36px, 4vw, 64px);
}
.cta h2 {
  color: var(--inverse-ink);
  max-width: 20ch;
}
.cta .lead {
  color: var(--inverse-muted);
  max-width: 52ch;
}

.footer {
  border-top: 1px solid var(--line);
  padding: var(--sp-8) 0 var(--sp-6);
  background: var(--soft);
}
.footer-grid {
  display: grid;
  gap: var(--sp-6);
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: var(--sp-5);
  }
}
.footer .footer-h {
  font-size: var(--t-small);
  color: var(--ink);
  font-weight: 560;
  margin-bottom: var(--sp-4);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer li {
  margin: 0;
}
.footer a {
  font-size: var(--t-small);
  color: var(--ink-2);
  text-decoration: none;
}
.footer a:hover {
  color: var(--brand-2);
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  font-size: var(--t-micro);
  color: var(--ink-3);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}
[data-reveal][data-shown='1'] {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .card,
  .nav {
    transition: none;
  }
}

.prose {
  max-width: var(--maxw-text);
}
.prose h2 {
  margin-top: var(--sp-8);
}
.prose h3 {
  margin-top: var(--sp-6);
}
.prose > :first-child {
  margin-top: 0;
}
.prose ul li {
  font-size: var(--t-body);
}

.center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.mt-5 {
  margin-top: var(--sp-5);
}
.mt-6 {
  margin-top: var(--sp-6);
}
.mt-7 {
  margin-top: var(--sp-7);
}
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 30;
}

.sb {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.sb-flag {
  margin: 0;
  padding: var(--sp-4) var(--sp-5) 0;
}
.sb-rail {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--line-2);
}
.sb-tick {
  font-size: var(--t-micro);
  color: var(--ink-3);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--soft);
  white-space: nowrap;
}
.sb-tick.is-active {
  color: var(--inverse-ink);
  background: var(--brand);
}
.sb-form {
  padding: var(--sp-5);
}
.sb-step {
  border: 0;
  margin: 0 0 var(--sp-6);
  padding: 0;
}
.sb--js .sb-step {
  margin-bottom: 0;
}
.sb-legend {
  padding: 0;
  margin-bottom: var(--sp-3);
}
.sb-q {
  font-size: var(--t-h3);
  line-height: var(--lh-head);
  color: var(--ink);
  margin: 0 0 var(--sp-4);
}
.sb-q:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}
.sb-opts {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.sb-opt {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  background: var(--paper);
}
.sb-opt:hover {
  border-color: var(--brand-2);
}
.sb-opt input {
  margin-top: 3px;
  accent-color: var(--brand);
  min-width: 18px;
  min-height: 18px;
}
.sb-opt:focus-within {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}
.sb-opt:has(input:checked) {
  border-color: var(--brand);
  background: var(--soft);
}
.sb-opt-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sb-opt-body strong {
  color: var(--ink);
  font-size: var(--t-small);
  font-weight: 600;
}
.sb-price {
  margin-bottom: var(--sp-4);
}
.sb-amount {
  font-size: var(--t-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 650;
  margin: 0;
}
.sb-lines {
  list-style: none;
  margin: 0 0 var(--sp-4);
  padding: 0;
  border-top: 1px solid var(--line-2);
}
.sb-lines li {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line-2);
  font-size: var(--t-small);
  color: var(--ink-2);
}
.sb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.sb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-2);
}
.sb-live {
  margin: var(--sp-3) 0 0;
}

.cc {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  padding: var(--gutter);
  display: flex;
  justify-content: center;
}

[hidden] {
  display: none !important;
}
.cc[hidden] {
  display: none;
}
.cc-panel {
  width: 100%;
  max-width: 640px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-5);
}
.cc-title {
  font-size: var(--t-h3);
  margin: 0 0 var(--sp-2);
  color: var(--ink);
}
.cc-text {
  margin: 0 0 var(--sp-4);
}
.cc-options {
  display: grid;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.cc-options[hidden] {
  display: none;
}
.cc-row {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
}
.cc-row input {
  margin-top: 3px;
  accent-color: var(--brand);
  min-width: 18px;
  min-height: 18px;
}
.cc-row span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cc-row strong {
  font-size: var(--t-small);
  color: var(--ink);
  font-weight: 600;
}
.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.cc-actions .btn {
  flex: 1 1 auto;
}
@media (max-width: 520px) {
  .cc-actions .btn {
    flex-basis: 100%;
  }
}

.flow {
  list-style: none;
  counter-reset: flow;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.flow-item {
  counter-increment: flow;
  position: relative;
  padding: var(--sp-4) var(--sp-4) var(--sp-4) calc(var(--sp-7) + 4px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.flow-item::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-4);
  font-size: var(--t-micro);
  font-weight: 650;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.flow-item strong {
  color: var(--ink);
  font-size: var(--t-small);
  font-weight: 620;
}

.legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}
.legend li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-3);
}

.card-h {
  font-size: var(--t-h3);
  line-height: var(--lh-head);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--sp-3);
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}
body {
  font-feature-settings: 'cv11', 'ss01';
}
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.nav {
  background: var(--canvas);
  background: color-mix(in srgb, var(--canvas) 90%, transparent);
}
.nav-login {
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 12px;
}
.nav-login:hover {
  color: var(--ink);
}
.brand {
  font-weight: 650;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 0;
  background: none;
  color: var(--ink);
}
.brand-mark svg {
  width: 26px;
  height: 26px;
}
.nav-panel .btn {
  display: inline-flex;
  border-bottom: 0;
}
.nav-panel .btn--primary,
.nav-panel .btn--primary:hover {
  color: var(--ink);
}

.ui-muted {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
}
.ui-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}
.ui-tenant {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
}
.ui-tenant-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--tenant-sample);
  flex: none;
}
.ui-nav {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 6px;
}
.ui-nav span {
  color: var(--ink-3);
}
.ui-nav.is-active {
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
  box-shadow: 0 0 0 1px var(--line);
}
.ui-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
}
.ui-tabs span {
  padding: 5px 10px;
  border-radius: 6px;
}
.ui-tabs .is-active {
  background: var(--ink);
  color: var(--inverse-ink);
}
.ui-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--ok);
  background: var(--ok-bg);
  white-space: nowrap;
}
.ui-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--inverse-ink);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.ui-button--quiet {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ui-confidence {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
}
.ui-confidence--high {
  color: var(--ok);
  background: var(--ok-bg);
}
.ui-confidence--medium {
  color: var(--accent-ink);
  background: var(--accent-soft);
}
.ui-confidence--confirm {
  color: var(--warn);
  background: var(--warn-bg);
}
.ui-totals {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--ink-2);
}
.ui-totals div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.ui-totals dd {
  margin: 0;
  color: var(--ink);
}
.ui-totals .ui-total {
  padding-top: 8px;
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
}
.ui-favi {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 12.5px;
}
.ui-favi svg,
.favi-observation svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--accent-strong);
}

.home-hero {
  padding: clamp(48px, 6vw, 104px) 0 clamp(40px, 4vw, 72px);
}
.home-hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .home-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}
.home-hero h1 {
  margin: 0;
  max-width: 13ch;
}
.home-lead {
  margin: 24px 0 0;
  max-width: 44ch;
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.home-hero-visual,
.home-wide {
  margin: 0;
}
.home-hero-visual figcaption,
.home-wide figcaption {
  margin-top: 12px;
  font-size: var(--t-micro);
  color: var(--ink-3);
}

.hx,
.pi,
.ws,
.pt {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hx {
  display: grid;
  gap: 12px;
}
.hx-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 18px 20px;
}
.hx-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--accent-strong);
  border-radius: 10px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
  font-size: 15px;
}
.hx-go {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--accent);
  font-weight: 600;
  font-size: 13px;
}
.ui-steps {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}
.ui-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.ui-step-mark {
  width: 14px;
  height: 14px;
  flex: none;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--ok);
}
.ui-steps .is-running {
  color: var(--ink-2);
}
.ui-steps .is-running .ui-step-mark {
  background: var(--accent);
  animation: cell-pulse 1.6s ease-in-out infinite;
}
@keyframes cell-pulse {
  50% {
    opacity: 0.35;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ui-steps .is-running .ui-step-mark {
    animation: none;
  }
}
.hx-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.hx-summary-head strong {
  font-size: 15px;
  font-weight: 650;
}
.hx-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 16px;
  margin: 14px 0 0;
}
.hx-facts dt {
  font-size: 12px;
  color: var(--ink-3);
}
.hx-facts dd {
  margin: 2px 0 0;
  font-weight: 600;
}

.section.home-section {
  --section-y: clamp(72px, 8vw, 136px) !important;
  padding-top: var(--section-y) !important;
}
.home-section--tint {
  background: var(--soft);
}
.home-head {
  display: grid;
  gap: 16px 48px;
  margin-bottom: clamp(40px, 4vw, 64px);
}
.home-head h2,
.home-split h2 {
  font-size: clamp(2rem, 1.4rem + 2vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 18ch;
}
.home-head p,
.home-section-lead {
  margin: 0;
  max-width: 48ch;
  font-size: var(--t-lead);
  line-height: 1.55;
}
.home-section-lead {
  margin-top: 20px;
}
@media (min-width: 1024px) {
  .home-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 28px 24px;
}
@media (min-width: 640px) {
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .flow {
    grid-template-columns: repeat(5, 1fr);
  }
  .flow li {
    position: relative;
  }
  .flow li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 40px;
    right: -14px;
    height: 1px;
    background: var(--line);
  }
}
.flow li {
  margin: 0;
}
.flow-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--accent);
}
.flow-mark svg {
  position: absolute;
  inset: 0;
  width: 28px;
  height: 28px;
}
.flow-mark span {
  position: relative;
  font-size: 12px;
  font-weight: 650;
  color: var(--ink);
}
.flow h3 {
  margin: 14px 0 6px;
  font-size: var(--t-body);
  font-weight: 600;
}
.flow p {
  margin: 0;
  font-size: var(--t-small);
}

.pi,
.ws {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.pi-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.pi-head strong {
  font-weight: 650;
}
.pi-body {
  display: grid;
}
@media (min-width: 1024px) {
  .pi-body {
    grid-template-columns: 1fr 340px;
  }
}
.pi-swatch--parcel {
  background: var(--layer-parcel);
}
.pi-swatch--footprint {
  background: var(--layer-footprint);
}
.pi-swatch--roof {
  background: var(--layer-roof);
}
.pi-swatch--facade {
  background: var(--layer-facade);
}
.pi-swatch--opening {
  background: var(--layer-opening);
}
.pi-canvas {
  background: var(--soft);
  min-height: 300px;
}
.pi-map {
  width: 100%;
  height: 100%;
  display: block;
}
.pi-ground {
  fill: var(--soft-2);
}
.pi-street {
  stroke: var(--line-strong);
  stroke-width: 36;
}
.pi-street-label {
  fill: var(--ink-3);
  font: 500 12px var(--font);
}
.pi-neighbour {
  fill: var(--map-neighbour);
}
.pi-parcel {
  fill: none;
  stroke: var(--layer-parcel);
  stroke-width: 1.5;
  stroke-dasharray: 6 5;
}
.pi-footprint {
  fill: color-mix(in srgb, var(--layer-footprint) 16%, transparent);
  stroke: var(--layer-footprint);
  stroke-width: 2;
}
.pi-roof {
  fill: color-mix(in srgb, var(--layer-roof) 22%, transparent);
}
.pi-roof.is-selected {
  fill: color-mix(in srgb, var(--accent) 42%, transparent);
  stroke: var(--accent-strong);
  stroke-width: 2.5;
}
.pi-ridge {
  stroke: var(--layer-roof);
  stroke-width: 2;
}
.pi-facade {
  stroke: var(--layer-facade);
  stroke-width: 6;
}
.pi-facade--uncertain {
  stroke: var(--layer-uncertain);
  stroke-dasharray: 8 6;
}
.pi-opening {
  fill: var(--layer-opening);
}
.pi-tag rect {
  fill: var(--ink);
}
.pi-tag text {
  fill: var(--inverse-ink);
  font: 600 13px var(--font);
}
.pi-inspector {
  padding: 20px;
  border-left: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 12px;
}
.pi-value {
  margin: 0;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pi-props {
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
}
.pi-props div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.pi-props dt {
  color: var(--ink-3);
}
.pi-props dd {
  margin: 0;
  text-align: right;
}
.pi-inspector > .ui-button {
  justify-self: start;
}
.pi-missing {
  margin-top: 6px;
  padding: 14px;
  border-radius: 12px;
  background: var(--warn-bg);
}
.pi-missing p {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}
.pi-missing ul {
  margin: 8px 0 12px;
  padding-left: 18px;
  color: var(--ink-2);
}
.pi-missing li {
  margin: 0 0 2px;
}
@media (max-width: 1023px) {
  .pi-inspector {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

.home-proofs {
  display: grid;
  gap: 24px 32px;
  margin: clamp(40px, 4vw, 56px) 0 0;
}
.home-proofs dt {
  color: var(--ink);
  font-weight: 600;
}
.home-proofs dd {
  margin: 6px 0 0;
  font-size: var(--t-small);
  line-height: 1.55;
}
@media (min-width: 640px) {
  .home-proofs {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .home-proofs {
    grid-template-columns: repeat(4, 1fr);
  }
  .home-proofs--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.packs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 40px 32px;
}
@media (min-width: 1024px) {
  .packs {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pack {
  margin: 0;
  padding-top: 24px;
  border-top: 2px solid var(--line);
}
.pack--0 {
  border-top-color: var(--pack-windows);
}
.pack--1 {
  border-top-color: var(--pack-roofs);
}
.pack--2 {
  border-top-color: var(--pack-facades);
}
.pack h3 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  letter-spacing: -0.025em;
}
.pack > p {
  margin: 0;
}
.pack ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.pack li {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: var(--t-small);
  color: var(--ink);
}

.ws {
  display: grid;
}
@media (min-width: 1024px) {
  .ws {
    grid-template-columns: 200px 1fr 300px;
  }
}
.ws-side {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 14px 12px;
  background: var(--canvas);
  border-right: 1px solid var(--line);
  color: var(--ink-2);
}
@media (min-width: 1024px) {
  .ws-side {
    display: flex;
  }
}
.ws-main {
  padding: 20px 24px 24px;
  min-width: 0;
}
.ws-main > p {
  margin: 0;
}
.ws-title {
  margin: 6px 0 14px !important;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.ws-group {
  margin-top: 16px;
}
.ws-group-head {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.ws-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
}
.ws-qty {
  font-size: 12.5px;
}
.ws-amount {
  min-width: 92px;
  text-align: right;
}
.ws-rail {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
  background: var(--canvas);
  border-left: 1px solid var(--line);
}
.ws-versions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ui-version {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ui-version:first-child {
  background: var(--ink);
  color: var(--inverse-ink);
  box-shadow: none;
}
.ws-check {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-2);
}
.ws-rail > .ui-button {
  height: 38px;
  background: var(--accent);
  color: var(--ink);
}
@media (max-width: 639px) {
  .ws-line {
    grid-template-columns: 1fr auto;
  }
  .ws-qty {
    display: none;
  }
}
@media (max-width: 1023px) {
  .ws-rail {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

.favi-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.favi-card {
  margin: 0;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.favi-card p {
  margin: 0;
  font-size: var(--t-small);
}
.favi-observation {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px !important;
  color: var(--ink);
  font-weight: 600;
  font-size: var(--t-body) !important;
}
.favi-confidence {
  margin-top: 8px !important;
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12.5px !important;
  font-weight: 500;
}
.favi-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.home-split {
  display: grid;
  gap: 48px;
  align-items: center;
}
.home-split--top {
  align-items: start;
}
@media (min-width: 1024px) {
  .home-split {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}
.home-list {
  display: grid;
  margin: 36px 0 0;
}
.home-list div {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.home-list dt {
  color: var(--ink);
  font-weight: 600;
}
.home-list dd {
  margin: 0;
}
@media (min-width: 640px) {
  .home-list div {
    grid-template-columns: 11rem 1fr;
    gap: 16px;
  }
}
.home-device {
  width: 100%;
  max-width: 380px;
  justify-self: center;
}
.pt {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.pt-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: 15px;
}
.pt-project {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.pt .ui-status {
  justify-self: start;
}
.pt-need,
.pt-offer {
  padding: 14px;
  border-radius: 12px;
  background: var(--canvas);
  border: 1px solid var(--line-2);
}
.pt-need p,
.pt-offer p {
  margin: 0 0 8px;
  font-weight: 600;
}
.pt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.pt-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-weight: 650;
  font-size: 15px;
}
.pt-actions {
  display: grid;
  gap: 8px;
}
.pt-actions .ui-button {
  height: 44px;
  font-size: 14px;
}
.pt-actions .ui-button:first-child {
  background: var(--tenant-sample);
}
.pt-powered {
  margin: 0;
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-3);
}

.home-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.home-link:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}
.trust-grid {
  display: grid;
  gap: 0 32px;
  margin: 0;
}
.trust-grid div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.trust-grid dt {
  color: var(--ink);
  font-weight: 600;
}
.trust-grid dd {
  margin: 4px 0 0;
  font-size: var(--t-small);
}
@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cta {
  position: relative;
  overflow: hidden;
  background: var(--inverse);
  border-radius: var(--r-xl);
}
.cta::after {
  content: '';
  position: absolute;
  right: 40px;
  bottom: 32px;
  width: 200px;
  height: 180px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 160'%3E%3Cg fill='none' stroke='%23343434' stroke-width='1.5'%3E%3Cpath d='M45 5 84 27.5V72.5L45 95 6 72.5V27.5Z'/%3E%3Cpath d='M123 5 162 27.5V72.5L123 95 84 72.5V27.5Z'/%3E%3C/g%3E%3Cpath d='M84 72.5 123 95V140L84 162.5 45 140V95Z' fill='%23DDA72C'/%3E%3C/svg%3E")
    no-repeat right bottom / contain;
  pointer-events: none;
}
.cta > * {
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .cta::after {
    display: none;
  }
}
.cta .btn--primary {
  background: var(--accent);
  color: var(--ink);
}
.cta .btn--primary:hover {
  background: var(--accent-hover);
  color: var(--ink);
}
.cta .btn--ghost {
  background: transparent;
  color: var(--inverse-ink);
  border-color: var(--inverse-line);
}
.cta .btn--ghost:hover {
  background: var(--inverse-raised);
  color: var(--inverse-ink);
}
.cta .lead {
  color: var(--inverse-muted);
}

.home-proof-row {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: var(--t-small);
  color: var(--ink-2);
}
.home-proof-row li,
.home-checks li {
  position: relative;
  margin: 0;
  padding-left: 20px;
}
.home-proof-row li::before,
.home-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--accent);
}
.hx-summary-head .ui-status {
  font-weight: 500;
}
.pi-head > div:first-child {
  display: grid;
  gap: 2px;
}
.pi-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.pi-summary div {
  padding: 10px 20px;
  background: var(--canvas);
}
.pi-summary dt {
  font-size: 12px;
  color: var(--ink-3);
}
.pi-summary dd {
  margin: 2px 0 0;
  font-weight: 600;
}
@media (min-width: 768px) {
  .pi-summary {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .pi-summary {
    grid-template-columns: repeat(6, 1fr);
  }
}
.pi-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.home-bullets {
  list-style: none;
  padding: 0;
  margin: clamp(40px, 4vw, 56px) 0 0;
  display: grid;
  gap: 16px 32px;
}
.home-bullets li {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
@media (min-width: 640px) {
  .home-bullets {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .home-bullets {
    grid-template-columns: repeat(4, 1fr);
  }
}
.favi-capabilities {
  display: grid;
  gap: 0 24px;
  margin: 32px 0 0;
}
.favi-capabilities div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.favi-capabilities dt {
  color: var(--ink);
  font-weight: 600;
}
.favi-capabilities dd {
  margin: 2px 0 0;
  font-size: var(--t-small);
}
@media (min-width: 640px) {
  .favi-capabilities {
    grid-template-columns: 1fr 1fr;
  }
}
.favi-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  color: var(--ink);
  font-weight: 600;
}
.favi-trust svg {
  width: 20px;
  height: 20px;
  color: var(--accent-strong);
  flex: none;
}
.home-checks {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 12px;
  color: var(--ink);
}

.pp-hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.pp-hero h1 {
  margin: 0;
  max-width: 18ch;
}
@media (min-width: 1024px) {
  .pp-hero--split .pp-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.pp-visual {
  margin: 0;
  min-width: 0;
}
.pp-visual figcaption {
  margin-top: 12px;
  font-size: var(--t-micro);
  color: var(--ink-3);
}
.pp-visual .home-device {
  justify-self: start;
}
.pp-single > div {
  max-width: 64ch;
}
.pp-items {
  display: grid;
  gap: 0 32px;
  margin: 32px 0 0;
}
.pp-items div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.pp-items dt {
  color: var(--ink);
  font-weight: 600;
}
.pp-items dd {
  margin: 4px 0 0;
  font-size: var(--t-small);
  line-height: 1.55;
}
.home-split > .pp-items {
  margin-top: 0;
}
@media (min-width: 640px) {
  .wrap:not(.home-split) > .pp-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .wrap:not(.home-split) > .pp-items {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pp-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 28px 0 0;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 600;
  max-width: 56ch;
}
.modules {
  display: grid;
  gap: clamp(72px, 8vw, 128px);
}
.module-row {
  display: grid;
  gap: 40px;
  align-items: center;
}
.module-row h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 20ch;
}
@media (min-width: 1024px) {
  .module-row {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 72px;
  }
  .module-row--rev > :first-child {
    order: 2;
  }
  .module-row--rev {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.module-row .pi-body {
  grid-template-columns: 1fr;
}
.module-row .ws {
  grid-template-columns: 1fr 260px;
}
.module-row .ws-side {
  display: none;
}
.scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0 32px;
}
.scope-list li {
  position: relative;
  margin: 0;
  padding: 14px 0 14px 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
.scope-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 10px;
  height: 10px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--accent);
}
@media (min-width: 640px) {
  .scope-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .scope-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.stages {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stages li {
  margin: 0;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: var(--t-small);
  font-weight: 500;
}
.stages li:nth-last-child(-n + 3) {
  background: var(--soft);
}
.stages li:nth-last-child(3) {
  background: var(--ok-bg);
  border-color: var(--ok-line);
  color: var(--ok);
}
.audiences {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0 48px;
}
.audiences li {
  margin: 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.audience-role {
  margin: 0 0 8px;
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--accent-strong);
}
.audiences h3 {
  margin: 0 0 8px;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}
.audiences li > p:last-child {
  margin: 0;
}
@media (min-width: 1024px) {
  .audiences {
    grid-template-columns: 1fr 1fr;
  }
}
.in {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.in-head {
  display: grid;
  gap: 2px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}
.in-head strong {
  font-weight: 650;
}
.in-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line-2);
}
.in-state {
  flex: none;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
}
.in-state--known {
  color: var(--ok);
  background: var(--ok-bg);
}
.in-state--asked {
  color: var(--ink-2);
  background: var(--soft);
}
.in-state--missing {
  color: var(--warn);
  background: var(--warn-bg);
}
.in-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-weight: 600;
}
