/* ============================================================
   BUILD READY — Design System
   Palette: paper white / near-black ink / deep architectural green
   Type: Space Grotesk (display) + Inter (body) + JetBrains Mono (data)
   Signature: the "live assessment readout" — the product itself
   rendered as the hero visual, instead of stock imagery.
   ============================================================ */

:root {
  --bg: #ffffff;
  --ink: #14171a;
  --ink-soft: #52585f;
  --ink-faint: #8a9096;
  --green: #1e4b45;
  --green-bright: #63b890;
  --mint: #eef5f1;
  --mint-line: #cfe4da;
  --line: #e6e8e7;
  --danger: #a13b2c;
  --sky: #e7f1ee;
  --wall: #ffffff;
  --wall-shadow: #dce8e3;
  --window: #ffd98a;
  --roof: #1e4b45;

  --display: "Space Grotesk", "Inter", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1120px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); line-height: 1.15; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--green); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { border-color: var(--green); color: var(--green); }

.btn-group { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.brand img { height: 36px; width: auto; display: block; }
.brand small { font-family: var(--mono); font-size: 0.6rem; color: var(--ink-faint); font-weight: 500; letter-spacing: 0.06em; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 0.95rem; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.4rem; line-height: 1; padding: 6px; color: var(--ink); }

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: block; }
  .site-nav.nav-open .nav-links,
  .site-nav.nav-open .nav-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    left: 0;
    right: 0;
    background: #fff;
    padding: 6px 28px 10px;
    box-shadow: 0 12px 24px -16px rgba(20,23,26,0.2);
  }
  .site-nav.nav-open .nav-links { top: 72px; border-bottom: 1px solid var(--line); }
  .site-nav.nav-open .nav-cta { top: calc(72px + 232px); }
  .site-nav.nav-open .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav.nav-open .nav-links a:last-child { border-bottom: none; }
  .site-nav.nav-open .nav-cta .btn-secondary { display: inline-flex; justify-content: center; }
}



/* ---------- Hero ---------- */
.hero { padding: 76px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

.hero-copy p { font-size: 1.12rem; max-width: 46ch; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; font-size: 0.88rem; color: var(--ink-soft); }
.trust-row span { display: flex; align-items: center; gap: 7px; }
.trust-row span::before { content: "✓"; color: var(--green); font-weight: 700; }

/* Signature element: the live assessment readout */
.readout {
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  padding: 22px 22px 18px;
  font-family: var(--mono);
  font-size: 0.86rem;
  box-shadow: 0 24px 60px -20px rgba(20,23,26,0.45);
}
.readout-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.14); padding-bottom: 12px; margin-bottom: 14px; }
.readout-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); display: inline-block; margin-right: 8px; box-shadow: 0 0 0 3px rgba(31,143,82,0.25); }
.readout-title { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.readout-line { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; opacity: 0; animation: reveal 0.5s ease forwards; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.readout-line:last-child { border-bottom: none; }
.readout-line .k { color: rgba(255,255,255,0.55); }
.readout-line .v { color: #fff; font-weight: 600; text-align: right; }
.readout-line .v.tag { color: var(--green-bright); }
.readout-line:nth-child(2) { animation-delay: 0.15s; }
.readout-line:nth-child(3) { animation-delay: 0.45s; }
.readout-line:nth-child(4) { animation-delay: 0.75s; }
.readout-line:nth-child(5) { animation-delay: 1.05s; }
.readout-line:nth-child(6) { animation-delay: 1.35s; }
@keyframes reveal { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.readout-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.72rem; color: rgba(255,255,255,0.5); }

/* ---------- Sections ---------- */
section { padding: 84px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.bg-mint { background: var(--mint); }

/* ---------- Card grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-7 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid-3, .grid-4, .grid-7 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-3, .grid-4, .grid-7 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--green); transform: translateY(-2px); }
.card .num { font-family: var(--mono); color: var(--ink-faint); font-size: 0.8rem; margin-bottom: 10px; display: block; }
.card h3 { margin-bottom: 8px; }

.project-card { text-align: center; padding: 26px 16px; }
.project-card .glyph { font-size: 1.6rem; margin-bottom: 10px; }
.project-card h3 { font-size: 1rem; }

/* ---------- Steps (real sequence — numbering earns its place) ---------- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step .num { font-family: var(--mono); font-size: 1.6rem; color: var(--mint-line); font-weight: 600; }
.step h3 { margin-bottom: 6px; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checklist li { display: flex; gap: 10px; color: var(--ink-soft); font-size: 0.98rem; }
.checklist li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: linear-gradient(180deg, #fff, var(--mint) 260%);
}
@media (max-width: 780px) { .pricing-panel { grid-template-columns: 1fr; text-align: center; } }
.price-tag { font-family: var(--display); font-size: 3rem; font-weight: 700; color: var(--green); }
.price-tag sup { font-size: 1.1rem; top: -1.6em; }

/* ---------- Forms ---------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; }
.field .hint { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-faint); margin-top: 6px; }
input, select, textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.option-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .option-row { grid-template-columns: repeat(2, 1fr); } }
.option-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; cursor: pointer; font-size: 0.92rem; }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card:has(input:checked) { border-color: var(--green); background: var(--mint); font-weight: 600; }
.progress-track { height: 4px; background: var(--line); border-radius: 4px; margin-bottom: 40px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--green); }

/* ---------- Blog / article ---------- */
.article { max-width: 720px; margin: 0 auto; }
.article h2 { margin-top: 2em; margin-bottom: 0.5em; }
.article p { font-size: 1.06rem; }
.article ul { color: var(--ink-soft); padding-left: 22px; }
.meta-row { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.callout { background: var(--mint); border-left: 3px solid var(--green); padding: 22px 26px; border-radius: 0 6px 6px 0; margin: 32px 0; }
.callout p { color: var(--ink); }

/* ---------- Footer ---------- */
footer { padding: 64px 0 40px; background: var(--ink); color: rgba(255,255,255,0.75); }
footer a { text-decoration: none; color: rgba(255,255,255,0.75); }
footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.94rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 24px; font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* ---------- Custom icons ---------- */
.icon {
  width: 44px;
  height: 44px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm { width: 30px; height: 30px; }
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.icon-circle .icon { width: 30px; height: 30px; }
.project-card .icon-circle { margin-bottom: 14px; }

/* ---------- Hero illustration ---------- */
.hero-illustration { margin-bottom: 28px; border-radius: 12px; overflow: hidden; background: var(--sky); }
.hero-illustration svg { width: 100%; height: auto; display: block; }

/* ---------- Illustrated project cards ---------- */
.illus-card { padding: 0; overflow: hidden; }
.illus-card .illus-frame { background: var(--sky); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.illus-card .illus-frame svg { width: 78%; height: 78%; }
.illus-card .illus-label { padding: 16px; text-align: center; }
.illus-card .illus-label h3 { font-size: 0.98rem; }

/* ---------- Flowchart (report contents) ---------- */
.flowchart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 168px;
  padding: 22px 14px;
}
.flow-node .icon-circle { width: 56px; height: 56px; margin-bottom: 12px; }
.flow-node .icon-circle .icon { width: 26px; height: 26px; }
.flow-node span { font-size: 0.88rem; font-weight: 600; line-height: 1.3; }
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  color: var(--mint-line);
  font-family: var(--mono);
  font-size: 1.1rem;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .flow-arrow { width: 100%; height: 24px; transform: rotate(90deg); }
  .flowchart { flex-direction: column; align-items: center; }
  .flow-node { width: 100%; max-width: 280px; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.faq-item p { font-size: 0.98rem; }

/* ---------- Suburb page bits ---------- */
.overlay-flag { display: flex; gap: 12px; align-items: flex-start; }
.overlay-flag svg { flex-shrink: 0; margin-top: 2px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { font-family: var(--mono); font-size: 0.78rem; background: var(--mint); color: var(--green); padding: 6px 12px; border-radius: 999px; }

/* ---------- Utility ---------- */
.center-cta { text-align: center; }
.mt-lg { margin-top: 56px; }
