/* Buildr marketing site — Insitive styleguide (as used on eqal.com.au)
   Full-page fixed dark gradient, glassmorphism cards, light-weight Inter
   display headings, white pill CTAs, violet/blue gradient accents. */
:root {
  --purple: #5A38FD;
  --purple-deep: #4A2BE0;
  --violet: #7C3AED;
  --blue: #1e40af;
  --royal: #1e3a8a;
  /* Repurposed light-theme tokens → dark-surface equivalents so existing
     inline var() styles in the pages resolve correctly on the dark canvas. */
  --navy: #f4f5ff;                      /* headings on ink */
  --ink: hsl(228 45% 92%);              /* body text on ink */
  --ink-soft: hsl(227 35% 82%);
  --muted: hsl(224 25% 72%);
  --faint: hsl(224 20% 58%);
  --card-bg: rgba(255,255,255,0.06);
  --card-border: rgba(255,255,255,0.12);
  --amber: #F59E0B;
  --cta-ink: #0f1729;
  --radius: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; background-color: hsl(231 45% 11%); }
body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background-color: transparent;
  background-image:
    radial-gradient(1000px 640px at 85% -10%, rgba(90,56,253,0.28), transparent 60%),
    radial-gradient(800px 520px at 0% 100%, rgba(30,64,175,0.35), transparent 55%),
    linear-gradient(160deg, #0f1329, #15142e 55%, #0f162e);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: #b7c4ff; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 { font-weight: 300; letter-spacing: -0.02em; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,19,41,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand .wordmark { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: hsl(227 30% 78%); font-weight: 500; font-size: 15px; }
.main-nav a:hover { color: #fff; text-decoration: none; }
.main-nav a.active { color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons (Insitive: white pill primary, glass ghost) ---------- */
.btn {
  display: inline-block; font-weight: 500; font-size: 15px;
  padding: 13px 28px; border-radius: 999px; text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: #fff;
  color: var(--cta-ink) !important;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.25);
}
.btn-primary:hover { background: #f1f5f9; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3); }
.main-nav a.btn { color: var(--cta-ink); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.35); color: #fff !important;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.2); }
.btn .arrow { display: inline-block; margin-left: 8px; transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.25); color: #fff !important;
  background: rgba(255,255,255,0.05);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); }

/* ---------- Hero (Insitive marketing-hero gradient) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background-color: var(--royal);
  background-image: linear-gradient(to bottom left, #1e3a8a, #5a38fd, #1e40af);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(75% 85% at 50% 45%, transparent 45%, #000 100%);
          mask-image: radial-gradient(75% 85% at 50% 45%, transparent 45%, #000 100%);
}
.hero > .container { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; }
.hero.compact > .container { padding-top: 72px; padding-bottom: 72px; }
.hero h1 {
  font-size: clamp(44px, 6.8vw, 78px); font-weight: 300;
  letter-spacing: -0.025em; line-height: 1.07; max-width: 980px;
}
.hero h1 strong, .hero h1 b { font-weight: 600; }
.hero .lead { font-size: clamp(17px, 2.2vw, 21px); color: rgba(255,255,255,0.82); margin-top: 22px; max-width: 760px; line-height: 1.55; font-weight: 400; }
.hero .kicker { color: rgba(255,255,255,0.7); }
.hero .cta-row { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero .award-line { margin-top: 32px; color: rgba(255,255,255,0.85); font-weight: 500; font-size: 15px; }
.gradient-r {
  background: linear-gradient(90deg, #93C5FD, #C4B5FD);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Sections ---------- */
section.block { padding: 96px 0; }
section.block.tint {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.kicker {
  font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.55); font-weight: 600; display: block; margin-bottom: 14px;
}
.kicker::before {
  content: ''; display: inline-block; width: 34px; height: 1px;
  background: rgba(255,255,255,0.35); vertical-align: middle; margin-right: 12px;
}
h2.section-title { font-size: clamp(30px, 4vw, 44px); font-weight: 300; color: #fff; letter-spacing: -0.02em; line-height: 1.15; max-width: 880px; }
h2.section-title em { font-style: italic; }
h2.section-title strong { font-weight: 600; }
p.lead { font-size: 18.5px; color: var(--ink-soft); margin-top: 18px; max-width: 860px; }
p.small { font-size: 14px; color: var(--muted); }

/* ---------- Cards (Insitive glass) ---------- */
.cards { display: grid; gap: 18px; margin-top: 38px; }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 28px 28px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0px 8px 16px -4px rgba(0,0,0,0.35);
}
.card h3 { font-size: 19px; color: #fff; margin-bottom: 10px; font-weight: 600; }
.card p { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.card .big { font-size: 40px; font-weight: 300; color: #fff; margin-bottom: 8px; letter-spacing: -0.02em; }
.card.linked { transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease; }
a.card { display: block; }
a.card:hover {
  text-decoration: none; transform: translateY(-3px);
  background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.22);
  box-shadow: 0px 16px 32px -8px rgba(0,0,0,0.45);
}
.card .tag-line {
  display: inline-block; background: rgba(90,56,253,0.28); color: #cfc4ff;
  border: 1px solid rgba(160,135,255,0.35);
  font-weight: 600; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase;
  border-radius: 999px; padding: 5px 14px; margin-bottom: 16px;
}

/* Pricing */
.price-from {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--card-border);
  display: flex; flex-direction: column; gap: 2px;
}
.price-from span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.price-from strong { font-size: 17px; color: #fff; font-weight: 600; }
.price-table {
  margin-top: 38px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card-bg);
  overflow: hidden;
}
.price-table .price-head {
  padding: 14px 22px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft);
  background: rgba(255,255,255,0.05); border-bottom: 1px solid var(--card-border);
}
.price-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 16px 22px; border-bottom: 1px solid var(--card-border);
}
.price-row:last-child { border-bottom: none; }
.price-row .price-name { font-size: 15.5px; color: #fff; font-weight: 500; }
.price-row .price-desc { display: block; font-size: 13.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.price-row .price-value { font-size: 17px; color: #fff; font-weight: 600; white-space: nowrap; }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.steps.s4 { grid-template-columns: repeat(4, 1fr); }
.step {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 26px 24px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.step .n {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--purple));
  color: #fff; font-weight: 600; font-size: 17px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  box-shadow: 0 6px 14px -6px rgba(90,56,253,0.8);
}
.step h3 { font-size: 17px; color: #fff; margin-bottom: 8px; font-weight: 600; }
.step p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

/* Big checklist */
ul.big { margin: 28px 0 0; list-style: none; max-width: 820px; }
ul.big li { font-size: 17.5px; line-height: 1.55; color: var(--ink); padding: 10px 0 10px 40px; position: relative; }
ul.big li strong { color: #fff; font-weight: 600; }
ul.big li::before {
  content: ''; position: absolute; left: 0; top: 18px; width: 20px; height: 12px;
  background: linear-gradient(90deg, #93C5FD, #C4B5FD);
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 50% 55%);
}

/* Awards */
.awards { display: flex; gap: 40px; align-items: center; margin-top: 40px; flex-wrap: wrap; }
.awards img {
  width: 190px; height: 190px; border-radius: 50%;
  box-shadow: 0px 16px 32px -8px rgba(0,0,0,0.45);
}
.awards .award-copy { flex: 1; min-width: 280px; }

/* Dark CTA band → Insitive violet gradient block */
.cta-band {
  color: #fff; text-align: center; padding: 88px 0;
  background-color: var(--royal);
  background-image: linear-gradient(to bottom left, #1e3a8a, #5a38fd, #1e40af);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 300; letter-spacing: -0.02em; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 18.5px; margin: 18px auto 32px; max-width: 640px; }
.cta-band .btn-primary { background: #fff; color: var(--cta-ink) !important; }

/* Contact */
.contact-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 16px; padding: 44px; max-width: 640px; margin-top: 38px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0px 12px 24px -6px rgba(0,0,0,0.4);
}
.contact-card h3 { color: #fff; font-size: 21px; margin-bottom: 8px; font-weight: 600; }
.contact-card .email { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; word-break: break-all; color: #cfc4ff; }
.contact-card ul { margin: 18px 0 0 20px; color: var(--ink-soft); }
.contact-card li { margin: 6px 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(10,13,28,0.72); color: var(--muted); padding: 60px 0 36px; margin-top: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: rgba(255,255,255,0.85); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.site-footer a { color: var(--muted); display: block; margin: 7px 0; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand .wordmark { color: #fff; }
.site-footer .blurb { margin-top: 14px; font-size: 14.5px; color: var(--faint); max-width: 340px; line-height: 1.5; }
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 42px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--faint);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .cards.c3 { grid-template-columns: 1fr; }
  .steps, .steps.s4 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .cards.c2, .cards.c4 { grid-template-columns: 1fr; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .price-row .price-value { white-space: normal; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(15,19,41,0.97); border-bottom: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 10px 24px 18px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; width: 100%; }
  .main-nav a.btn { margin-top: 8px; text-align: center; }
  section.block { padding: 60px 0; }
}

/* Nav: one pill CTA (eqal pattern); Builder Portal is a plain link */
.main-nav a.btn { padding: 10px 22px; font-size: 14.5px; }
.main-nav a.nav-portal { color: hsl(227 30% 78%); font-weight: 500; }
.main-nav a.nav-portal:hover { color: #fff; }

/* Hero trust bullets (eqal pattern) */
.trust-row { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; padding: 0; list-style: none; }
.trust-row li { font-size: 14px; color: rgba(255,255,255,0.78); position: relative; padding-left: 16px; }
.trust-row li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.55); }

/* Contact form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.form-grid .span2 { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px;
  padding: 10px 12px; color: var(--ink); font: inherit; font-size: 14px; outline: none;
  transition: border-color .12s ease, background .12s ease;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--purple); background: rgba(255,255,255,0.09); }
.form-grid select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aab' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.form-grid select option { background: #14183a; color: #e7e9ff; }
.form-grid textarea { resize: vertical; min-height: 120px; }
.form-grid .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
