/* Univexo Technologies — site design system
   Shared by index.html and propdeal.html. No frameworks. */

/* ============================================================
   1. Tokens
   ============================================================ */
:root {
  /* brand */
  --brand-50: #fff7ed;
  --brand-100: #ffedd5;
  --brand-200: #fed7aa;
  --brand-400: #fb923c;
  --brand-500: #f97316;
  --brand-600: #ea580c;
  --brand-700: #c2410c;

  /* surfaces */
  --page: #f8fafc;
  --card: #ffffff;
  --sunken: #f1f5f9;
  --deep: #0f172a;
  --hairline: #e2e8f0;
  --hairline-strong: #cbd5e1;

  /* ink */
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --ink-4: #94a3b8;
  --on-deep: #f8fafc;
  --on-deep-2: #a8b4c8;

  /* semantic */
  --hot: #dc2626;
  --cold: #0ea5e9;
  --success: #059669;
  --hot-bg: #fef2f2;
  --cold-bg: #f0f9ff;
  --success-bg: #ecfdf5;

  /* geometry */
  --r-sm: 0.5rem;
  --r: 1rem;
  --r-lg: 1.25rem;
  --r-xl: 1.75rem;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.055), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px -12px rgba(15, 23, 42, 0.13), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 40px 80px -32px rgba(15, 23, 42, 0.22), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-brand: 0 18px 40px -16px rgba(234, 88, 12, 0.35);

  /* type */
  --font: "Inter", "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* layout */
  --nav-h: 4.25rem;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --maxw: 76rem;
  --section-y: clamp(4.5rem, 11vw, 9.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   2. Reset
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

ul, ol { margin: 0; padding: 0; list-style: none; }

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

button, input, select, textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

button { cursor: pointer; background: none; border: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: var(--brand-200);
  color: var(--brand-700);
}

/* ============================================================
   3. Typography scale
   ============================================================ */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.eyebrow--muted { color: var(--ink-3); }

.eyebrow__mark {
  width: 1.25rem;
  height: 1.25rem;
  vertical-align: -0.3125rem;
  margin-right: 0.5rem;
}

.display {
  font-size: clamp(var(--display-min, 2.6rem), var(--display-vw, 7.4vw), var(--display-max, 5.25rem));
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.02;
}

.h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 750; letter-spacing: -0.026em; }
.h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; }

.lede {
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 420;
  max-width: 42ch;
}

.body-muted { color: var(--ink-2); font-size: 1rem; }
.small-muted { color: var(--ink-3); font-size: 0.875rem; line-height: 1.55; }
.micro { font-size: 0.75rem; line-height: 1.5; color: var(--ink-3); }

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.q { color: var(--ink); font-weight: 600; }
.q--muted { color: var(--ink-2); font-weight: 500; }

.accent { color: var(--brand-700); }
.accent-soft { color: var(--brand-600); }

/* ============================================================
   4. Layout
   ============================================================ */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight { padding-block: clamp(3rem, 7vw, 5rem); }
.section--sunken { background: var(--sunken); }
.section--card { background: var(--card); }
.section--deep { background: var(--deep); color: var(--on-deep); }
.section--ruled { border-block: 1px solid var(--hairline); }

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .lede { margin-inline: auto; }

.section-head > * + * { margin-top: 1.125rem; }

.stack > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2rem; }
.stack-sm > * + * { margin-top: 0.625rem; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.split--reverse > :first-child { order: 2; }

@media (max-width: 62rem) {
  .split,
  .split--reverse { grid-template-columns: minmax(0, 1fr); }
  .split--reverse > :first-child { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 40rem) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.center { text-align: center; }
.spacer { height: clamp(2rem, 5vw, 3.5rem); }

/* ============================================================
   5. Chrome — nav, footer, buttons, pills
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.is-stuck {
  border-bottom-color: var(--hairline);
  background: rgba(248, 250, 252, 0.9);
}

.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6875rem;
  flex-shrink: 0;
}

.brand__mark {
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 0.6875rem;
  background: linear-gradient(150deg, var(--brand-400), var(--brand-700));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.04em;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand__mark--lg {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9375rem;
  font-size: 1.5rem;
}

/* portrait 333x408 mark */
.brand__logo {
  height: 2.5rem;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* square 514x513 PropDeal mark */
.brand__logo--square {
  height: 2.25rem;
}

/* the mark's indigo leg is 2.7:1 on --deep, so the footer gives it a light chip */
.footer .brand__logo {
  height: 2.625rem;
  background: var(--page);
  border-radius: 0.6875rem;
  padding: 0.3125rem;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name strong {
  font-size: 1.0625rem;
  font-weight: 750;
  letter-spacing: -0.028em;
}

.brand__name span {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 0.3125rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
  font-size: 0.875rem;
  font-weight: 520;
  color: var(--ink-2);
}

.nav__links a {
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav__links a:hover { color: var(--ink); }

.nav__cta { display: flex; align-items: center; gap: 0.75rem; }

.nav__burger {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-sm);
  place-items: center;
  color: var(--ink);
}

.nav__burger:hover { background: var(--sunken); }

@media (max-width: 62rem) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; }
}

.drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
  box-shadow: var(--shadow-lg);
  padding: 1rem var(--gutter) 1.5rem;
  display: none;
}

.drawer.is-open { display: block; }

.drawer a {
  display: block;
  padding: 0.875rem 0.25rem;
  font-size: 1.0625rem;
  font-weight: 550;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-2);
}

.drawer a:last-child { border-bottom: 0; }
.drawer a:hover { color: var(--brand-700); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.4375rem;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.014em;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.22s var(--ease),
              background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.btn:active { transform: scale(0.975); }

.btn--primary {
  background: var(--brand-700);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover { background: var(--brand-600); transform: translateY(-1px); }

.btn--dark { background: var(--deep); color: #fff; box-shadow: var(--shadow-md); }
.btn--dark:hover { background: #1e293b; transform: translateY(-1px); }

.btn--ghost {
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hairline-strong), var(--shadow-xs);
}

.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-4), var(--shadow-sm); transform: translateY(-1px); }

.btn--quiet {
  background: transparent;
  color: var(--brand-700);
  padding-inline: 0.5rem;
}

.btn--quiet:hover { color: var(--brand-600); }

.btn--sm { padding: 0.5625rem 1rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 1.875rem; font-size: 1.0625rem; }

.btn__arrow { transition: transform 0.2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* pills, tags, chips */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--card);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.pill--brand { background: var(--brand-50); color: var(--brand-700); box-shadow: inset 0 0 0 1px var(--brand-200); }
.pill--hot { background: var(--hot-bg); color: var(--hot); box-shadow: inset 0 0 0 1px #fecaca; }
.pill--cold { background: var(--cold-bg); color: #0369a1; box-shadow: inset 0 0 0 1px #bae6fd; }
.pill--success { background: var(--success-bg); color: #047857; box-shadow: inset 0 0 0 1px #a7f3d0; }
.pill--sunken { background: var(--sunken); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hairline); }
.pill--warm { background: var(--brand-50); color: var(--brand-700); box-shadow: inset 0 0 0 1px var(--brand-200); }

.dot {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--ink-4);
  flex-shrink: 0;
}

.dot--hot { background: var(--hot); }
.dot--warm { background: var(--brand-500); }
.dot--cold { background: var(--cold); }
.dot--success { background: var(--success); }

/* ============================================================
   6. Cards
   ============================================================ */
.card {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2.125rem);
  box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.card--lift:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--hairline-strong), var(--shadow-md);
}

.card--flat { box-shadow: inset 0 0 0 1px var(--hairline); }

.card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8125rem;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand-700);
  box-shadow: inset 0 0 0 1px var(--brand-100);
  margin-bottom: 1.5rem;
}

.card__icon--sunken { background: var(--sunken); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hairline); }
.card__icon svg { width: 1.25rem; height: 1.25rem; }

.card h3 { font-size: 1.125rem; font-weight: 675; letter-spacing: -0.02em; }
.card p { margin-top: 0.5625rem; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.6; }

.card__num {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-700);
  font-variant-numeric: tabular-nums;
}

/* feature list inside cards */
.ticks { margin-top: 1.25rem; display: grid; gap: 0.5625rem; }

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.5;
}

.ticks svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.1875rem;
  color: var(--success);
}

/* stat blocks */
.stat__value {
  font-size: clamp(2.5rem, 5.4vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}

/* ============================================================
   7. Product mockups (CSS-drawn app UI)
   ============================================================ */
.device {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--card);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--hairline);
  overflow: hidden;
}

.device--phone {
  width: min(20rem, 78vw);
  border-radius: 2.5rem;
  padding: 0.6875rem;
  background: var(--card);
}

.device--phone .device__screen {
  border-radius: 1.9375rem;
  background: var(--page);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.device__chrome {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.875rem 1.125rem;
  background: var(--card);
  border-bottom: 1px solid var(--hairline);
}

.device__chrome i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--hairline-strong);
}

.device__url {
  margin-left: 0.5rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink-4);
  letter-spacing: 0;
}

.app {
  padding: 1.125rem;
  display: grid;
  gap: 0.875rem;
  background: var(--page);
}

.app--wide { padding: clamp(1.125rem, 2.5vw, 1.75rem); }

.app__greeting { font-size: 0.9375rem; font-weight: 550; color: var(--ink-2); }
.app__headline { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.025em; }

.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.kpi {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 0.6875rem;
  padding: 0.6875rem 0.75rem;
  display: grid;
  gap: 0.125rem;
}

.kpi__value {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.kpi__value--hot { color: var(--hot); }
.kpi__value--brand { color: var(--brand-700); }
.kpi__value--cold { color: #0284c7; }
.kpi__value--success { color: var(--success); }

.kpi__label { font-size: 0.6875rem; font-weight: 550; color: var(--ink-3); letter-spacing: -0.005em; }

.panel {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 0.8125rem;
  overflow: hidden;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.75rem;
  font-weight: 675;
  letter-spacing: -0.01em;
}

.panel__body { padding: 0.5rem 0.875rem 0.75rem; display: grid; gap: 0.5rem; }

.row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--hairline);
}

.row:last-child { border-bottom: 0; }

.avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--sunken);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.avatar--hot { background: var(--hot-bg); color: var(--hot); box-shadow: inset 0 0 0 1px #fecaca; }
.avatar--warm { background: var(--brand-50); color: var(--brand-700); box-shadow: inset 0 0 0 1px var(--brand-200); }
.avatar--cold { background: var(--cold-bg); color: #0284c7; box-shadow: inset 0 0 0 1px #bae6fd; }
.avatar--success { background: var(--success-bg); color: #047857; box-shadow: inset 0 0 0 1px #a7f3d0; }

.row__main { flex: 1; min-width: 0; }
.row__name { font-size: 0.8125rem; font-weight: 650; letter-spacing: -0.015em; }
.row__sub { font-size: 0.6875rem; color: var(--ink-3); margin-top: 0.125rem; }
.row__time { font-size: 0.6875rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.row__time--hot { color: var(--hot); }

.mini-actions { display: flex; gap: 0.3125rem; flex-shrink: 0; }

.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3125rem 0.5rem;
  border-radius: 0.4375rem;
  font-size: 0.6875rem;
  font-weight: 650;
  background: var(--sunken);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--hairline);
  white-space: nowrap;
}

.mini-btn--call { background: var(--brand-50); color: var(--brand-700); box-shadow: inset 0 0 0 1px var(--brand-200); }
.mini-btn--wa { background: var(--success-bg); color: #047857; box-shadow: inset 0 0 0 1px #a7f3d0; }
.mini-btn--done { background: var(--deep); color: #fff; box-shadow: none; }

.chips { display: flex; flex-wrap: wrap; gap: 0.375rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.3125rem 0.625rem;
  border-radius: var(--r-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--card);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--hairline);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.chip--on {
  background: var(--brand-700);
  color: #fff;
  box-shadow: none;
}

.chip--pick {
  background: var(--brand-50);
  color: var(--brand-700);
  box-shadow: inset 0 0 0 1.5px var(--brand-400);
}

.chip--hot {
  background: var(--hot-bg);
  color: #991b1b;
  box-shadow: inset 0 0 0 1px #fecaca;
}

.chip--cold {
  background: var(--cold-bg);
  color: #0284c7;
  box-shadow: inset 0 0 0 1px #bae6fd;
}

/* the three quiet ways a deal dies — deliberately dimmer than the payoff line */
.fades {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
}

.fades li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 550;
  color: var(--ink-4);
}

.fades li::before {
  content: "";
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1px;
  background: var(--hairline-strong);
}

/* the arrow between "how it goes today" and "Tuesday, 9:00 AM" */
.shift {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-4);
  letter-spacing: 0.01em;
}

.shift svg { color: var(--brand-600); }

.panel--dim { background: var(--sunken); }
.panel--dim .panel__head { color: var(--ink-4); }

.panel--lit {
  box-shadow: 0 0 0 1.5px var(--brand-200), var(--shadow-sm);
}

/* the interactive follow-up loop */
.demo-flag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-4);
  background: var(--sunken);
  border: 1px dashed var(--hairline-strong);
  border-radius: 0.5rem;
  padding: 0.4375rem 0.625rem;
}

.demo-flag svg { flex: 0 0 auto; color: var(--brand-600); }

.demo-row {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.5rem;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0.4375rem;
  transition: background 0.18s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.demo-row:last-child { border-bottom: 0; }
.demo-row:hover { background: var(--sunken); }
.demo-row.is-active { background: var(--brand-50); box-shadow: inset 3px 0 0 var(--brand-500); }
.demo-row.is-leaving { opacity: 0; transform: translateX(1rem); pointer-events: none; }

.demo-note {
  width: 100%;
  border: 1px dashed var(--hairline-strong);
  border-radius: 0.5rem;
  padding: 0.625rem;
  font-size: 0.75rem;
  line-height: 1.5;
  background: var(--card);
  resize: vertical;
}

.demo-note::placeholder { color: var(--ink-4); }

.demo-check {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-3);
  cursor: pointer;
}

.demo-check input { width: 0.875rem; height: 0.875rem; accent-color: var(--brand-600); }

.demo-toast,
.demo-empty { display: none; }

.demo-toast {
  align-items: flex-start;
  gap: 0.625rem;
  background: var(--success-bg);
  color: #065f46;
  border-radius: 0.625rem;
  padding: 0.75rem 0.875rem;
  box-shadow: inset 0 0 0 1px #a7f3d0;
}

.demo-toast.is-on { display: flex; animation: demo-pop 0.28s var(--ease); }
.demo-toast b { display: block; font-size: 0.8125rem; }
.demo-toast .micro { display: block; margin-top: 0.125rem; color: #047857; }

.demo-empty.is-on {
  display: grid;
  gap: 0.375rem;
  justify-items: center;
  text-align: center;
  padding: 1.25rem 0.875rem;
  background: var(--sunken);
  border-radius: 0.8125rem;
}

@keyframes demo-pop { from { opacity: 0; transform: translateY(0.375rem); } }

/* buyer → requirement → project → the flat you can quote */
.chain {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--sunken);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}

.chain__node {
  flex: 1 1 10rem;
  display: grid;
  gap: 0.125rem;
  align-content: center;
  padding: 0.625rem 0.75rem;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 0.625rem;
}

.chain__node b { font-size: 0.875rem; font-weight: 650; letter-spacing: -0.015em; }
.chain__node .micro { color: var(--ink-4); }

.chain__node--on {
  background: var(--brand-50);
  box-shadow: inset 0 0 0 1.5px var(--brand-400);
}

.chain__node--on .micro { color: var(--brand-700); }
.chain__link { display: grid; place-items: center; flex: 0 0 auto; color: var(--ink-4); }

@media (max-width: 62rem) {
  .chain { flex-direction: column; }
  .chain__link svg { transform: rotate(90deg); }
}

/* one working day, told as a list */
.daylist { display: grid; }

.daylist__item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.daylist__item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.08); }

.daylist__time { font-size: 0.875rem; font-weight: 700; color: var(--brand-400); }

.daylist__body b {
  display: block;
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #fff;
}

.daylist__body p { font-size: 0.9375rem; color: var(--on-deep-2); margin-top: 0.25rem; }

@media (max-width: 40rem) {
  .daylist__item { grid-template-columns: 1fr; gap: 0.125rem; padding: 1rem 0; }
}

/* stages stepper */
.stages { display: flex; flex-wrap: wrap; gap: 0.375rem; align-items: center; }

.stage {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-3);
  padding: 0.375rem 0.6875rem;
  border-radius: var(--r-pill);
  background: var(--sunken);
}

.stage--on { background: var(--deep); color: #fff; }
.stage--past { background: var(--brand-50); color: var(--brand-700); }

/* poster */
.poster {
  aspect-ratio: 1 / 1.414;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.poster__band {
  background: linear-gradient(120deg, var(--brand-500), var(--brand-700));
  color: #fff;
  border-radius: 0.625rem;
  padding: 0.75rem 0.875rem;
}

.poster__band strong { display: block; font-size: 1.0625rem; letter-spacing: -0.03em; }
.poster__band span { font-size: 0.5625rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.9; }

.qr {
  width: 5.5rem;
  height: 5.5rem;
  margin-inline: auto;
  border-radius: 0.625rem;
  border: 2px solid var(--ink);
  position: relative;
  background-color: var(--card);
  background-image: repeating-conic-gradient(var(--ink) 0% 25%, transparent 0% 50%);
  background-size: 0.4375rem 0.4375rem;
  background-position: 0.625rem 0.625rem;
  padding: 0.5rem;
}

.qr::before,
.qr::after,
.qr i {
  content: "";
  position: absolute;
  width: 1.375rem;
  height: 1.375rem;
  border: 3px solid var(--ink);
  border-radius: 0.25rem;
  background: var(--card);
}

.qr::before { top: 0.5rem; left: 0.5rem; }
.qr::after { top: 0.5rem; right: 0.5rem; }
.qr i { bottom: 0.5rem; left: 0.5rem; }

/* ============================================================
   8. Reveal + motion
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
  will-change: opacity, transform;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.float { animation: float 7s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

/* ============================================================
   9. Forms
   ============================================================ */
.form {
  background: var(--card);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-md);
  display: grid;
  gap: 1.25rem;
}

.form__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form__grid--single { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 40rem) {
  .form__grid { grid-template-columns: minmax(0, 1fr); }
}

.field { display: grid; gap: 0.4375rem; }

.field label {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.6875rem;
  border: 1px solid var(--hairline-strong);
  background: var(--card);
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.55; }

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-4); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.form__group {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.form__group-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-700);
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--hairline);
}

.form__status {
  border-radius: 0.6875rem;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 550;
  text-align: center;
  display: none;
}

.form__status.is-ok {
  display: block;
  background: var(--success-bg);
  color: #047857;
  box-shadow: inset 0 0 0 1px #a7f3d0;
}

.form__status.is-bad {
  display: block;
  background: var(--hot-bg);
  color: var(--hot);
  box-shadow: inset 0 0 0 1px #fecaca;
}

.form__status.is-hidden { display: none; }

/* ============================================================
   10. Hero scaffolding
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3rem, 9vw, 7rem));
  padding-bottom: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: auto 0 auto 50%;
  translate: -50% -30%;
  width: min(72rem, 130vw);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 42%, rgba(249, 115, 22, 0.16), rgba(249, 115, 22, 0.04) 42%, transparent 66%);
  pointer-events: none;
  z-index: -1;
}

.hero__inner {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: clamp(1.25rem, 2.6vw, 2rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0.9375rem 0.4375rem 0.5rem;
  border-radius: var(--r-pill);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-sm);
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--ink-2);
}

.hero__badge b {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: var(--r-pill);
  padding: 0.1875rem 0.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
}

.hero__path {
  display: grid;
  justify-items: center;
  gap: 0.625rem;
}

.hero__path-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero__stage {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
}

/* numbered flow (the follow-up loop) */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.75rem);
  position: relative;
  counter-reset: flow;
}

.flow::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  top: 1.25rem;
  height: 1px;
  background: linear-gradient(to right, var(--brand-200), var(--brand-400), var(--brand-200));
}

.flow__step { position: relative; padding-top: 3.25rem; }

.flow__num {
  position: relative;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  color: var(--brand-700);
  font-weight: 750;
  font-size: 0.9375rem;
  box-shadow: inset 0 0 0 1px var(--brand-200), var(--shadow-sm);
  margin-top: -3.25rem;
  margin-bottom: 1.25rem;
}

.flow__title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; }
.flow__text { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.6; }

@media (max-width: 62rem) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow::before { display: none; }
}

@media (max-width: 40rem) {
  .flow { grid-template-columns: minmax(0, 1fr); }
}

.mono-inline {
  font-family: var(--mono);
  font-size: 0.87em;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  background: var(--sunken);
  border-radius: 0.25rem;
  padding: 0.1em 0.32em;
}

/* hero stage */
.hero__fade {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 6rem;
  background: linear-gradient(to bottom, transparent, var(--page));
  pointer-events: none;
}

.hero__cols {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: 1.35fr 0.65fr;
}

@media (max-width: 62rem) {
  .hero__cols { grid-template-columns: minmax(0, 1fr); }
  .kpis--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* marquee */
.marquee {
  border-block: 1px solid var(--hairline);
  background: var(--card);
  overflow: hidden;
  padding-block: 1.125rem;
}

.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.marquee__track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee__track i { width: 0.25rem; height: 0.25rem; border-radius: 50%; background: var(--brand-400); }

@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ============================================================
   11. Footer
   ============================================================ */
.footer {
  background: var(--deep);
  color: var(--on-deep);
  padding-block: clamp(3rem, 7vw, 4.5rem) 2rem;
}

.footer a { color: var(--on-deep-2); transition: color 0.2s var(--ease); }
.footer a:hover { color: #fff; }

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand { display: grid; gap: 1rem; max-width: 26rem; }
.footer__brand p { color: var(--on-deep-2); font-size: 0.9375rem; }
.footer .brand__name span { color: var(--ink-4); }

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 5rem);
  font-size: 0.875rem;
}

.footer__col { display: grid; gap: 0.75rem; }

.footer__col h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 0.25rem;
}

.footer__bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--ink-4);
}

.footer .brand__mark { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }

/* ============================================================
   12. Odds and ends
   ============================================================ */
.rule { height: 1px; background: var(--hairline); border: 0; margin: 0; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.note {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  border-radius: var(--r);
  background: var(--brand-50);
  box-shadow: inset 0 0 0 1px var(--brand-100);
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.55;
}

.note svg { width: 1.125rem; height: 1.125rem; color: var(--brand-700); flex-shrink: 0; margin-top: 0.125rem; }

.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;
}
