:root {
  --slate: #1f2a30;
  --slate-deep: #141c20;
  --fern: #2f8f5b;
  --fern-deep: #1f5d45;
  --urgent: #e0592a;
  --urgent-deep: #c24718;
  --paper: #f5f6f3;
  --ink: #1c2226;
  --muted: #5b666c;
  --line: #e0e4e0;
  --radius: 14px;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  --pin: #059669;
  --pin-deep: #065f46;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; margin: 0 0 .4em; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #8fd4ac; margin: 0 0 12px; }
.kicker.dark { color: var(--fern); }
.fine { font-size: 13px; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 0; font: 700 15px var(--body); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-urgent { background: var(--urgent); color: #fff; }
.btn-urgent:hover { background: var(--urgent-deep); }
.btn-fern { background: var(--fern); color: #fff; }
.btn-fern:hover { background: var(--fern-deep); }
.btn-lg { height: 50px; font-size: 16px; }
.btn-xl { height: 62px; font-size: 20px; width: 100%; }

.demo-bar { background: var(--slate-deep); color: #b8c4c6; font-size: 13px; text-align: center; padding: 8px 16px; }
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--fern); display: grid; place-items: center; }
.brand-mark svg { width: 20px; height: 20px; fill: #fff; }
.brand-word { font: 800 22px/1 var(--display); color: var(--slate); }
.brand-word em { font-style: normal; font-weight: 600; color: var(--fern); margin-left: 6px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--fern); }
.hamburger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.hamburger span { display: block; height: 2px; background: var(--slate); margin: 5px 0; border-radius: 2px; }
.mobile-nav { display: flex; flex-direction: column; padding: 8px 16px 16px; }
.mobile-nav a { padding: 12px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }

.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,28,32,.72) 0%, rgba(20,28,32,.86) 55%, rgba(20,28,32,.95) 100%); }
.hero-inner { position: relative; padding: 56px 0 64px; }
.hero h1 { font-size: clamp(42px, 6vw, 80px); max-width: 16ch; }
.hero-sub { font-size: 19px; color: #d4dcdc; margin: 0 0 28px; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.doors > * { min-width: 0; }
.door { border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.door h2 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.15; margin: 0; }
.door-tag { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.door-urgent { background: rgba(224,89,42,.14); border: 2px solid var(--urgent); }
.door-urgent .door-tag { color: #ff9a74; }
.oncall { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.oncall .dot { width: 10px; height: 10px; border-radius: 50%; background: #5ee08e; box-shadow: 0 0 0 0 rgba(94,224,142,.6); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(94,224,142,0); } 100% { box-shadow: 0 0 0 0 rgba(94,224,142,0); } }
.tip { margin: 0; font-size: 14px; color: #c9d3d3; }
.door-calm { background: #fff; color: var(--ink); }
.door-calm .door-tag { color: var(--fern); }
.door-calm label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); min-width: 0; }
.door-calm .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, select, textarea { font: 15px var(--body); padding: 11px 13px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--fern); border-color: transparent; }
.done { margin: 8px 0; font-weight: 600; color: var(--fern-deep); }

.promise { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 80px 0; }
.promise > * { min-width: 0; }
.promise img { border-radius: 20px; aspect-ratio: 4/3; object-fit: cover; }
.promise h2 { font-size: clamp(26px, 3vw, 38px); }
.promise p { color: var(--muted); font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; color: var(--ink); }
.chips span::before { content: "✓ "; color: var(--fern); font-weight: 800; }
.chips small { color: var(--muted); }

.services { padding: 20px 0 60px; }
.section-head { margin-bottom: 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 16px 18px 20px; }
.card h3 { font-size: 21px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.how { background: var(--slate); color: #fff; padding: 80px 0; }
.how-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.how-grid > * { min-width: 0; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 20px; }
.steps span { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--fern); font: 800 17px var(--display); }
.steps h3 { font-size: 21px; }
.steps p { margin: 0; color: #c2cdcd; }
.phone-stage { display: grid; justify-items: center; }
.phone { width: min(300px, 72vw); border-radius: 44px; background: #0d1316; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.5), inset 0 0 0 2px #2d3a40; }
.phone img { border-radius: 33px; width: 100%; height: auto; }

.areas { position: relative; }
.areas > img { width: 100%; height: 440px; object-fit: cover; }
.areas-card { position: relative; margin-top: -160px; background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 24px 60px rgba(20,30,30,.18); max-width: 760px; margin-bottom: 80px; }
.suburbs { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.suburbs li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 500; }

.site-footer { background: var(--slate-deep); color: #93a1a3; font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; }

.bubble { padding: 10px 13px; border-radius: 14px; font-size: 14px; max-width: 88%; }
.bubble.me { align-self: flex-end; background: var(--fern); color: #fff; border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: #eef1ee; border-bottom-left-radius: 4px; }

@media (max-width: 960px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0,0,0,.12); flex-direction: column; gap: 0; padding: 6px 16px 14px; z-index: 30; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
  .site-header { position: relative; }
  .hamburger { display: block; }
  .header-cta { margin-left: auto; }
  .doors, .promise, .how-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .header-cta { padding: 0 12px; height: 40px; font-size: 13px; }
  .brand-word { font-size: 19px; }
  .brand-word em { display: none; }
  .door { padding: 20px; }
  .btn-xl { font-size: 18px; }
  .door-calm .row { grid-template-columns: 1fr; }
  .areas-card { margin-top: -120px; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .oncall .dot { animation: none; } }

/* ── "Live in DiscoverWorthy" pins (?pins=1) — same house pattern as the app's brand preview. ── */
html.pins [data-pin] { position: relative; outline: 2.5px dashed var(--pin); outline-offset: 5px; }
html.pins [data-pin]::after {
  content: "✓  " attr(data-pin);
  position: absolute; top: -16px; right: 12px; z-index: 30; max-width: min(380px, 80%);
  background: var(--pin-deep); color: #fff; font: 600 13px/1.35 var(--body); padding: 7px 13px;
  border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.25); pointer-events: none;
}
html.pins .site-header { position: relative; }

/* managed build */
.nav ul { list-style: none; display: contents; margin: 0; padding: 0; }
.nav li { display: contents; }
.door-calm .row3 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.door-calm select { width: 100%; }
.form-error { color: #b42318; font-size: 14px; margin: 6px 0 0; }
