/* Shared look for the public pages (home, pricing, privacy, terms).
   Light theme (Tim, 17 Oct 2026): "keep black/white/gold … lighten up the page, bring in fancy looking blueprint
   schemes, development/highrise/subdivision images … high end software for developers, instead of a flashy
   space/tech feel." References: Emaar, srama.com.au, town.com.au, and his old baliosproperties.com — white header,
   spaced classical serif logo, black and white architectural photography, square black buttons.
   Type: Cormorant Garamond (headings, the wordmark's letters) + Instrument Sans (everything else). */
:root {
  --paper: #FFFFFF;
  --stone: #F3F3F1;        /* the quiet alternate section */
  --ink: #000000;
  --text: #2E2E2C;
  --mute: #6E6C67;
  --rule: #E3E2DE;
  --rule-strong: #C9C7C1;
  --gold: #A88528;         /* deep gold: lines, large figures, the wordmark on white */
  --gold-ink: #866718;     /* small gold text on white (contrast) */
  --gold-bright: #D4AF37;  /* gold on black */
  --gold-pale: #F6E3A1;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { 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; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  font-variant-numeric: lining-nums;   /* Cormorant's default figures are old-style */
}
img { max-width: 100%; display: block; }
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 40rem) { .wrap { padding: 0 2rem; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); line-height: 1.02; letter-spacing: -0.012em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-size: 1.6rem; line-height: 1.15; }
.lede { font-size: 1.1875rem; line-height: 1.6; color: var(--mute); margin: 0; max-width: 36rem; }
/* small gold line that names a section's product — sentence case, never shouted */
.label { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.2; color: var(--gold-ink); margin: 0 0 0.9rem; }

/* ---------- buttons: square, black (Balios) ---------- */
.btn {
  display: inline-block; font: 600 0.9375rem/1 var(--sans); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  padding: 1rem 1.75rem; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; border-radius: 0;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn.gold { background: var(--gold-bright); border-color: var(--gold-bright); color: #000; }
.btn.gold:hover { background: transparent; color: var(--gold-bright); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- header ----------
   Four audience tabs, then Pricing and Log in (Tim, 30 Oct 2026: "create the 4 new tabs in this order, from left to
   right (Developers, Investors, Renovators, Home Buyers), then the pricing and login"). Wide screens: one row, tabs in
   the middle. Narrower: logo + Pricing / Log in on top, the four tabs as an even row underneath. */
.site-head { background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; z-index: 5; }
.site-head .wrap { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "logo acct" "aud aud";
                   align-items: center; column-gap: 1.5rem; padding-top: 1.1rem; }
.logo { display: block; flex: none; line-height: 0; grid-area: logo; }
.logo img { width: 9.5rem; height: auto; }
@media (min-width: 48rem) { .logo img { width: 11rem; } }
.site-nav { grid-area: acct; justify-self: end; display: flex; align-items: center; gap: 1.25rem; }
@media (min-width: 48rem) { .site-nav { gap: 1.75rem; } }
.site-nav a.plain { color: var(--ink); text-decoration: none; font-size: 0.9375rem; padding: 0.3rem 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.site-nav a.plain:hover, .site-nav a.plain[aria-current="page"] { border-bottom-color: var(--ink); }
.site-nav .btn { padding: 0.8rem 1.25rem; font-size: 0.875rem; white-space: nowrap; }
.site-nav [hidden] { display: none; }
.aud { grid-area: aud; display: grid; grid-template-columns: repeat(4, 1fr); margin: 1rem -1rem 0; border-top: 1px solid var(--rule); }
@media (min-width: 40rem) { .aud { margin: 1rem -2rem 0; } }
.aud a { text-align: center; padding: 0.8rem 0.2rem 0.7rem; color: var(--ink); text-decoration: none; font-size: 0.875rem;
         white-space: nowrap; border-bottom: 2px solid transparent; }
.aud a:hover { border-bottom-color: var(--rule-strong); }
.aud a[aria-current="page"] { border-bottom-color: var(--gold); }
@media (min-width: 40rem) { .aud a { font-size: 0.9375rem; } }
@media (min-width: 72rem) {
  .site-head .wrap { grid-template-columns: auto 1fr auto; grid-template-areas: "logo aud acct"; height: 6rem; padding-top: 0; column-gap: 2rem; }
  .logo img { width: 12rem; }
  .aud { display: flex; justify-content: center; gap: 2rem; margin: 0; border: 0; }
  .aud a { padding: 0.3rem 0; border-bottom-width: 1px; }
  .aud a:hover, .aud a[aria-current="page"] { border-bottom-color: var(--ink); }
}
@media (max-width: 30rem) { .logo img { width: 8.25rem; } .site-nav { gap: 0.9rem; } .site-nav .btn { padding: 0.7rem 0.9rem; }
                            .aud a { font-size: 0.8125rem; } }

/* "Coming soon" tag, shared by the public pages */
.soon { display: inline-block; margin-left: 0.5rem; padding: 0.15rem 0.6rem; border: 1px solid var(--gold); font-family: var(--sans);
        font-style: normal; font-size: 0.75rem; line-height: 1.4; color: var(--gold-ink); vertical-align: 0.2em; white-space: nowrap; }

/* ---------- footer: Barr & Co lives here only (Tim, 15 Oct 2026) ---------- */
.site-foot { border-top: 1px solid var(--rule); padding: 3rem 0 2.5rem; font-size: 0.9375rem; color: var(--mute); }
.site-foot .row { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: space-between; align-items: center; }
.site-foot .logo img { width: 9rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.site-foot a { color: var(--text); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-foot .by { flex-basis: 100%; margin: 0; }
.site-foot .fine { flex-basis: 100%; margin: 0; font-size: 0.8125rem; color: var(--mute); }
/* legal links: small, centred, on their own line (Tim, 16 Oct 2026) */
.site-foot .legal { flex-basis: 100%; display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.5rem; padding-top: 1.25rem;
                    border-top: 1px solid var(--rule); font-size: 0.8125rem; }
.site-foot .legal a { color: var(--mute); }
.site-foot .legal span { color: var(--rule-strong); }
