/* Move Homes skin over the Prime VIC stock list styles (styles.css is copied from the Prime site by tools/build.py).
   Colours, type and shapes from movehomes.com.au: deep purple #301F45, purple #704B9C, orange #F89633,
   red line #D63338, Poppins, pill buttons and the rounded triangle line motif. */
:root {
  --plum: #301F45;
  --purple: #704B9C;
  --orange: #F89633;
  --orange-dark: #E07F1C;
  --mh-red: #D63338;
  --red: #704B9C;            /* styles.css uses --red as its accent; here that's Move Homes purple */
  --red-line: rgba(255, 255, 255, .14);
  --ink: #2A2233;
  --ink-2: #5E566A;
  --muted: #8C8597;
  --bg: #FAF9FB;
  --grey: #F3F1F6;
  --zebra: #F8F7FA;
  --line: #E7E3EC;
  --font: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --display: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --mono: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --header-h: 96px;
}
body { font-size: 15px; }
::selection { background: var(--orange); color: var(--plum); }

/* No Prime corner triangles on labels */
.supertitle::before { display: none; }
.eyebrow { margin: 0; font: 600 15px/1.3 var(--font); color: var(--orange); }

/* ---------- Header + hero: one deep purple block, like the Move Homes site ---------- */
.top { position: relative; background: var(--plum); color: #fff; overflow: hidden; }
.site-header { background: transparent; border-bottom: 0; position: relative; z-index: 2; }
.site-header__in { height: var(--header-h); }
.brand img { width: 96px; height: auto; }
.site-header__label { font: 500 13px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

.hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 4.5vw, 64px); }
.hero__in { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero__main { min-width: 0; }
.hero h1 { margin: 14px 0 14px; font: 700 clamp(48px, 7vw, 96px)/1 var(--display); letter-spacing: -.02em; color: #fff; }
.updated { margin: 0 0 16px; font: 500 13px/1.3 var(--font); letter-spacing: .06em; color: rgba(255, 255, 255, .7); }
.hero__lede { max-width: 560px; color: rgba(255, 255, 255, .88); }
.hero__stats { border-top: 1.5px solid rgba(255, 255, 255, .16); }
.hero__stats dt { font: 500 12px/1 var(--font); letter-spacing: .06em; color: rgba(255, 255, 255, .6); }
.hero__stats dd { font-weight: 600; color: #fff; }
.hero__stats div:first-child dd { color: var(--orange); }

/* The triangle lines, cropped at the right edge as on movehomes.com.au */
.hero__lines, .footer__lines { position: absolute; right: 0; pointer-events: none; z-index: 1; }
.hero__lines { top: -40px; bottom: -40px; width: min(30vw, 360px); }
.hero__lines img, .footer__lines img { height: 100%; width: auto; margin-left: auto; opacity: .9; }

/* "Stock provided by Prime Property": small, white, out of the way */
.provider { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 18px 16px; margin-right: min(18vw, 220px); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.provider span { font: 500 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.provider img { height: 40px; width: auto; }

/* ---------- Steps ---------- */
.steps { border-top: 0; }
.step__panel { min-height: 0; padding-top: 30px; padding-bottom: 32px; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--plum); font: 600 13px/1 var(--font); letter-spacing: 0; }
.step__panel h3 { font-weight: 600; color: var(--plum); }
.step__more a:hover { color: var(--purple); }

/* ---------- Documents and contact ---------- */
.docs .supertitle { font: 600 13px/1 var(--font); letter-spacing: .04em; text-transform: none; color: var(--plum); }
.doc { border-radius: 40px; padding: 10px 16px; }
.doc svg { fill: var(--purple); }
a.doc:hover { border-color: var(--purple); color: var(--purple); }
.contact__q { font: 600 13px/1.4 var(--font); letter-spacing: 0; text-transform: none; color: var(--purple); }
.contact a:hover { color: var(--purple); }

/* ---------- Toolbar ---------- */
.toolbar { background: rgba(250, 249, 251, .95); }
.tabs button, .filterbtn { border-radius: 40px; font: 600 13px/1 var(--font); letter-spacing: .02em; text-transform: none; }
.tabs button span { font: 500 11px/1 var(--font); border-radius: 20px; }
.tabs button:hover { border-color: var(--purple); }
.tabs button[aria-selected="true"] { background: var(--plum); border-color: var(--plum); }
.search input, .select select, .toggle { border-radius: 40px; }
.select select { padding-left: 16px; }
.search input:focus, .select select:focus { border-color: var(--purple); }
.toggle input { accent-color: var(--purple); }
.filterbtn { border-color: var(--plum); }
.filterbtn span { background: var(--orange); color: var(--plum); border-radius: 20px; }
.filterbtn[aria-expanded="true"] { background: var(--plum); }

/* ---------- Buttons: deep purple, orange on hover, pill shaped ---------- */
.btn { border-radius: 40px; background: var(--plum); border-color: var(--plum); font: 600 14px/1 var(--font); letter-spacing: .01em; text-transform: none; }
.btn:hover { background: var(--orange); border-color: var(--orange); color: var(--plum); }
.btn--ghost, .btn--line { background: #fff; color: var(--plum); border-color: var(--plum); }
.btn--sm { font-size: 12.5px; }
.btn--disabled, .btn--disabled:hover { background: var(--grey); border-color: var(--grey); color: var(--muted); }
.status { border-radius: 20px; padding: 0 10px; font: 500 11px/1 var(--font); letter-spacing: .03em; }
.grid .status { padding: 0 9px; font-size: 10.5px; }
.newtag { border-radius: 20px; background: var(--orange); color: var(--plum); font: 600 10px/1 var(--font); letter-spacing: .05em; }
.incentive, .row__incentive { color: var(--purple); }

/* ---------- Table ---------- */
.results { font: 500 12px/1 var(--font); letter-spacing: .04em; }
.grid__groups th { background: var(--plum); font: 500 11.5px/1 var(--font); letter-spacing: .06em; border-left-color: rgba(255, 255, 255, .14); }
.grid__cols th { font: 500 11px/1.2 var(--font); letter-spacing: .02em; text-transform: none; border-bottom-color: var(--plum); }
.grid__section th { background: var(--purple); font-weight: 600; }
.grid__section th span, .list__section span { font: 500 11.5px/1 var(--font); letter-spacing: .02em; text-transform: none; color: rgba(255, 255, 255, .75); }
.grid tbody tr:not(.grid__section):hover td { background: #F1EEF5; }
/* Poppins runs wider than the Prime font, so the table sets a touch smaller */
.grid { font-size: 13px; }
.grid .price { font-size: 14.5px; }
.grid .k-incentives { max-width: 200px; }
.incentive { font-size: 12px; line-height: 1.25; }
@media (min-width: 901px) and (max-width: 1599px) { .search input { width: 230px; } }

/* ---------- Collapsed list ---------- */
.list__head { background: var(--plum); font: 500 11px/1 var(--font); letter-spacing: .02em; text-transform: none; }
.list__section { background: var(--purple); font-weight: 600; }
.c-estate small { font: 500 11.5px/1.2 var(--font); letter-spacing: .02em; text-transform: none; }
.row__btn .c-x::before { background: var(--purple); }
.row__facts dt { font: 500 11px/1 var(--font); letter-spacing: .02em; text-transform: none; }

/* ---------- Footer: deep purple, the triangle lines, then the bar ---------- */
.footer { position: relative; background: var(--plum); overflow: hidden; }
.footer__hero { padding: clamp(56px, 7vw, 96px) 0; }
.footer__hero .wrap { position: relative; z-index: 2; }
.footer__lines { top: -20px; bottom: -120px; width: min(26vw, 300px); }
.footer__big { margin: 12px 0 0; max-width: 900px; font: 700 clamp(32px, 4.4vw, 60px)/1.08 var(--display); letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.footer__bar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }
.footer__bar p { margin: 0; }
.footer__note { opacity: .7; }
.footer__top { color: var(--orange); font-weight: 600; text-decoration: none; }
.footer__top:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .provider { margin-right: min(22vw, 200px); }
}
@media (max-width: 767px) {
  :root { --header-h: 76px; }
  .brand img { width: 74px; }
  .site-header__label { font-size: 11px; }
  .hero { padding-top: 12px; }
  .hero__in { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero__lines { width: 34vw; top: -60px; opacity: .55; }
  .provider { margin-right: 0; flex-direction: row; align-items: center; gap: 14px; padding: 10px 14px; }
  .provider span { font-size: 10px; }
  .step__num { width: 28px; height: 28px; font-size: 11px; }
  .step__panel { grid-template-columns: 36px 1fr; }
  .footer__lines { width: 34vw; opacity: .5; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
}
