:root {
  --navy: #1b2a4a;
  --navy-deep: #111c33;
  --yellow: #f5b800;
  --yellow-deep: #d99f00;
  --paper: #f6f7f9;
  --ink: #1d2433;
  --muted: #5d6679;
  --line: #e1e5ec;
  --radius: 14px;
  --display: 'Archivo', 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.015em; }
h2 { font-size: clamp(30px, 4vw, 46px); }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--yellow); margin: 0 0 12px; }
.kicker.dark { color: var(--yellow-deep); }
.lede { color: var(--muted); max-width: 60ch; font-size: 18px; }
.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: 10px; border: 0; font: 700 15px var(--body); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--yellow); color: var(--navy-deep); }
.btn-primary:hover { background: var(--yellow-deep); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-lg { height: 52px; font-size: 16px; }

.demo-bar { background: var(--navy-deep); color: #c9d2e3; 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: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 9px; background: var(--navy); display: grid; place-items: center; }
.brand-mark svg { width: 22px; height: 22px; fill: var(--yellow); }
.brand-word { font: 900 20px/1 var(--display); color: var(--navy); letter-spacing: .02em; }
.brand-word em { font-style: normal; font-weight: 600; font-size: 12px; letter-spacing: .28em; color: var(--muted); display: block; margin-top: 3px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--yellow-deep); }
.hamburger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.hamburger span { display: block; height: 2px; background: var(--navy); 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 { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding: 56px 0 64px; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--yellow); display: block; }
.hero-sub { font-size: 18px; color: #d3dbea; max-width: 38ch; margin: 0 0 24px; }
.quote-form { background: #fff; color: var(--ink); border-radius: 16px; padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.quote-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field-full { grid-column: 1 / -1; }
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); resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--yellow); border-color: transparent; }
.quote-form .done { grid-column: 1 / -1; margin: 6px 0; font-weight: 600; color: var(--navy); }
.proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; font-size: 14px; color: #c3cde0; }
.proof span::before { content: "✓ "; color: var(--yellow); font-weight: 800; }
.proof small { opacity: .7; }

.phone-stage { position: relative; display: grid; justify-items: center; }
.phone { width: min(330px, 78vw); border-radius: 44px; background: #0b1222; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.5), inset 0 0 0 2px #2a3753; }
.phone img { border-radius: 33px; width: 100%; height: auto; }
.sticker { position: absolute; left: -6px; bottom: 90px; margin: 0; background: var(--yellow); color: var(--navy-deep); font-size: 15px; line-height: 1.3; padding: 12px 16px; border-radius: 12px; transform: rotate(-4deg); box-shadow: 0 12px 28px rgba(0,0,0,.35); max-width: 220px; }

.services { padding: 88px 0 40px; }
.section-head { margin-bottom: 28px; }
.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(--navy); color: #fff; margin-top: 60px; padding: 80px 0; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 24px; }
.steps span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: var(--navy-deep); font: 800 18px var(--display); margin-bottom: 14px; }
.steps h3 { font-size: 22px; }
.steps p { margin: 0; color: #c3cde0; }

.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 90px 0; }
.about > * { min-width: 0; }
.about img { border-radius: 20px; aspect-ratio: 4/3; object-fit: cover; }
.about h2 { font-size: clamp(26px, 3vw, 36px); }
.about p { color: var(--muted); font-size: 17px; }
.sig { font: 700 17px var(--display); color: var(--navy) !important; }

.areas { position: relative; }
.areas > img { width: 100%; height: 460px; object-fit: cover; }
.areas-card { position: relative; margin-top: -170px; background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 24px 60px rgba(20,30,60,.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(--navy-deep); color: #9aa6bd; 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(--navy); color: #fff; border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: #eef1f6; border-bottom-left-radius: 4px; }

@media (max-width: 960px) {
  .header-call { display: none; }
  .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; }
  .hero-grid, .about { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .sticker { left: 4px; bottom: 40px; font-size: 13px; }
}
@media (max-width: 520px) {
  .quote-form { grid-template-columns: 1fr; }
  .brand-word { font-size: 17px; }
  .header-cta { padding: 0 14px; height: 40px; }
  .areas-card { margin-top: -120px; padding: 22px; }
}

/* ── "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; }

/* ── Hero v2: Dan and his promise ── */
.hero { padding-bottom: 36px; }
.hero-grid { grid-template-columns: 1.05fr 1fr; padding-bottom: 36px; }
.hero h1 em { font-size: .82em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 4px; }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost-light:hover { border-color: #fff; }
.dan-stage { position: relative; }
.dan-photo { width: 100%; border-radius: 22px; aspect-ratio: 4/3.2; object-fit: cover; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.dan-stage .sticker { left: -18px; bottom: 26px; font-size: 17px; max-width: 250px; padding: 14px 18px; }
.quote-form { max-width: none; grid-template-columns: 2.2fr 1fr 1fr auto; align-items: end; padding: 16px 18px; }
.quote-form .field-wide { grid-column: auto; }
.quote-form .btn { height: 46px; }
.how-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.how-grid > * { min-width: 0; }
.how .steps { grid-template-columns: 1fr; gap: 14px; }
.how .steps li { display: flex; gap: 16px; align-items: flex-start; }
.how .steps span { flex: none; margin: 0; }
.how .phone { width: min(300px, 72vw); }
@media (max-width: 960px) {
  .quote-form { grid-template-columns: 1fr 1fr; }
  .quote-form .field-wide, .quote-form .btn { grid-column: 1 / -1; }
  .how-grid { grid-template-columns: minmax(0, 1fr); }
  .dan-stage .sticker { left: 10px; bottom: 14px; font-size: 14px; }
}
.dan-photo { height: auto; }
.quote-form label { min-width: 0; }
.quote-form input { width: 100%; min-width: 0; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .dan-stage { order: -1; }
  .dan-photo { aspect-ratio: 4/3; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .quote-form { grid-template-columns: 1fr; }
}

/* managed build */
.nav ul { list-style: none; display: contents; margin: 0; padding: 0; }
.nav li { display: contents; }
.quote-form { grid-template-columns: 1fr 1fr 1fr 1fr auto; }
.quote-form .f-job { grid-column: span 3; }
.quote-form .f-suburb { grid-column: span 2; }
.quote-form .f-email { grid-column: span 2; }
.form-error { grid-column: 1 / -1; color: #b42318; font-size: 14px; margin: 0; }
@media (max-width: 960px) {
  .quote-form { grid-template-columns: 1fr 1fr; }
  .quote-form .f-job, .quote-form .f-email, .quote-form .btn { grid-column: 1 / -1; }
  .quote-form .f-suburb { grid-column: auto; }
}
@media (max-width: 520px) {
  .quote-form { grid-template-columns: 1fr; }
  .quote-form .f-suburb { grid-column: 1 / -1; }
}
