/* SwiftTitle — swifttitle.com.au
   Brand: Brick #C2441F · Terracotta #F0795A (dark backgrounds only) · Slate #1B1F2A · Mortar #F2E6DF · Limewash #FAF6F3
   Type: Manrope 800 / 700 / 500 / 400 */

:root {
  --brick: #C2441F;
  --brick-deep: #A3381A;
  --terracotta: #F0795A;
  --slate: #1B1F2A;
  --slate-2: #2A2F3C;
  --mortar: #F2E6DF;
  --limewash: #FAF6F3;
  --ink-soft: #4A4F5C;
  --rule: #E3D3CA;
  --white: #FFFFFF;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 34rem;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { 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(--limewash);
  color: var(--slate);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brick); text-underline-offset: 0.18em; }
a:hover { color: var(--brick-deep); }

:focus-visible {
  outline: 3px solid var(--brick);
  outline-offset: 3px;
  border-radius: 4px;
}
.band-slate :focus-visible { outline-color: var(--terracotta); }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--slate); color: var(--white);
  padding: .6rem 1rem; border-radius: 6px; z-index: 10;
}
.skip:focus { top: 1rem; color: var(--white); }

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

h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: var(--measure); }

/* ---------- Header ---------- */
.site-header { padding: 1.25rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: block; width: 168px; }
.logo img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { color: var(--slate); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--brick); }
.nav .btn { color: var(--white); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } .logo { width: 136px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.35rem;
  border-radius: 8px; border: 2px solid var(--brick);
  background: var(--brick); color: var(--white);
  font: 700 1rem/1 var(--font); text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--brick-deep); border-color: var(--brick-deep); color: var(--white); }
.btn-quiet { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn-quiet:hover { background: var(--slate); border-color: var(--slate); color: var(--white); }
.nav .btn { min-height: 42px; padding: .6rem 1.05rem; }

/* ---------- Hero ---------- */
.hero { overflow-x: clip; padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6.5rem); }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.hero h1 { max-width: 13ch; }
.hero .lede { margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-note { margin-top: 1.25rem; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* The report: a document under the SwiftTitle roof */
.report { position: relative; padding-top: 58px; max-width: 34rem; width: 100%; justify-self: end; }
@media (max-width: 900px) { .report { justify-self: start; } }
.report-roof { position: absolute; z-index: 1; top: 0; left: -14px; width: calc(100% + 28px); max-width: none; height: 72px; }
@media (max-width: 540px) { .report-roof { left: -8px; width: calc(100% + 16px); } }
.report-roof path { fill: var(--brick); }
.report-sheet {
  position: relative;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 30px 60px -36px rgba(27, 31, 42, .35);
}
.report-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.report-title { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.report-meta { font-size: .85rem; color: var(--ink-soft); }
.report-status {
  display: inline-block; margin-top: .9rem;
  font-size: .8rem; font-weight: 700;
  background: var(--mortar); color: var(--brick-deep);
  padding: .3rem .6rem; border-radius: 999px;
}
.flags { list-style: none; margin: 1.1rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.flag { display: grid; grid-template-columns: 10px 1fr auto; gap: .85rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); align-items: start; }
.flag::before { content: ""; width: 10px; height: 10px; margin-top: .45rem; border-radius: 2px; background: var(--brick); }
.flag.minor::before { background: transparent; border: 2px solid var(--brick); }
.flag strong { display: block; font-weight: 700; font-size: .95rem; line-height: 1.35; }
.flag span { display: block; font-size: .87rem; color: var(--ink-soft); line-height: 1.45; margin-top: .15rem; }
.flag .cite { font-size: .8rem; font-weight: 700; color: var(--brick); white-space: nowrap; padding-top: .15rem; }
.report-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.1rem; flex-wrap: wrap; }
.report-foot p { font-size: .82rem; color: var(--ink-soft); max-width: 18rem; line-height: 1.45; }
.release {
  font: 700 .88rem/1 var(--font); color: var(--white); background: var(--slate);
  border-radius: 6px; padding: .65rem .9rem; white-space: nowrap;
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { max-width: 40rem; }
.section-head .lede { margin-top: 1.1rem; }

/* Split: who does what */
.band-slate { background: var(--slate); color: var(--limewash); }
.band-slate .lede { color: #C9CCD4; }
.band-slate a { color: var(--terracotta); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 3rem; border-top: 1px solid var(--slate-2); }
.split-col { padding: 2rem 0; }
.split-col + .split-col { padding-left: clamp(1.5rem, 4vw, 3.5rem); border-left: 1px solid var(--slate-2); }
.split-col:first-child { padding-right: clamp(1.5rem, 4vw, 3.5rem); }
.split-col h3 { color: var(--white); font-size: 1.35rem; }
.split-col h3 small { display: block; font-size: .95rem; font-weight: 500; color: var(--terracotta); margin-top: .35rem; letter-spacing: 0; }
.split-col ul { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.split-col li { padding: .8rem 0; border-top: 1px solid var(--slate-2); color: #DADDE3; }
.split-col li b { color: var(--white); font-weight: 700; }
.never { margin-top: 2.5rem; padding: 1.25rem 1.4rem; border-left: 4px solid var(--terracotta); background: var(--slate-2); border-radius: 0 8px 8px 0; color: #E6E8EC; max-width: 46rem; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split-col + .split-col { padding-left: 0; border-left: 0; border-top: 1px solid var(--slate-2); }
  .split-col:first-child { padding-right: 0; }
}

/* Steps: a real sequence */
.steps { list-style: none; counter-reset: step; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.steps li { counter-increment: step; border-top: 3px solid var(--slate); padding-top: 1.25rem; }
.steps li.firm { border-top-color: var(--brick); }
.steps li::before { content: counter(step); display: block; font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--brick); margin-bottom: .9rem; letter-spacing: -0.03em; }
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--ink-soft); font-size: .98rem; }
.steps .who { display: block; margin-top: .9rem; font-size: .85rem; font-weight: 700; color: var(--slate); }
.steps li.firm .who { color: var(--brick); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* States */
.band-mortar { background: var(--mortar); }
.states { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 3rem; }
.state { background: var(--limewash); border-radius: 10px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.state h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.state dl { margin: 1.5rem 0 0; }
.state dt { font-weight: 700; font-size: .95rem; margin-top: 1.1rem; }
.state dd { margin: .2rem 0 0; color: var(--ink-soft); font-size: .98rem; }
.states-note { margin-top: 2rem; color: var(--ink-soft); font-size: .95rem; max-width: 46rem; }
@media (max-width: 760px) { .states { grid-template-columns: 1fr; } }

/* Pricing + pilot */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.points { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.points li { padding: .9rem 0 .9rem 1.6rem; border-top: 1px solid var(--rule); position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 10px; height: 2px; background: var(--brick); }
.points li b { font-weight: 700; }

.timeline { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.timeline time { font-weight: 700; color: var(--brick); font-size: .95rem; }
.timeline b { display: block; font-weight: 700; }
.timeline span { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 480px) { .timeline li { grid-template-columns: 1fr; gap: .2rem; } }

/* Clients */
.clients { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; border-top: 1px solid var(--rule); padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.clients p + p { margin-top: 1rem; }
.clients .body { color: var(--ink-soft); max-width: var(--measure); }
@media (max-width: 760px) { .clients { grid-template-columns: 1fr; } }

/* Contact */
.contact { text-align: left; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2.5rem; align-items: end; }
.contact h2 { color: var(--white); max-width: 16ch; }
.contact .lede { margin-top: 1rem; }
.contact-box { display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; }
.contact-box .email { color: var(--white); font-weight: 700; font-size: 1.15rem; text-decoration: none; border-bottom: 2px solid var(--terracotta); padding-bottom: .1rem; }
.contact-box .email:hover { color: var(--terracotta); }
.band-slate .btn { background: var(--terracotta); border-color: var(--terracotta); color: var(--slate); }
.band-slate .btn:hover { background: #F49378; border-color: #F49378; color: var(--slate); }
@media (max-width: 760px) { .contact .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding: 3rem 0 2.5rem; font-size: .9rem; color: var(--ink-soft); }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr; gap: 2rem 3rem; align-items: start; }
.site-footer .logo { width: 132px; }
.site-footer .legal { max-width: 46rem; }
.site-footer .legal p + p { margin-top: .75rem; }
.site-footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; }
.site-footer nav a { color: var(--slate); font-weight: 500; }
@media (max-width: 640px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Plain pages (privacy, 404) */
.page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.page .wrap > * { max-width: 44rem; }
.page h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.page h2 { font-size: 1.35rem; margin-top: 2.5rem; letter-spacing: -0.01em; }
.page p, .page ul { margin-top: 1rem; color: var(--ink-soft); }
.page ul { padding-left: 1.2rem; }
.page li + li { margin-top: .4rem; }
.page .updated { margin-top: .75rem; font-size: .92rem; }

/* One load moment: the report's flags arrive in turn */
@media (prefers-reduced-motion: no-preference) {
  .flag { animation: flagIn .5s cubic-bezier(.2, .7, .2, 1) both; }
  .flag:nth-child(1) { animation-delay: .35s; }
  .flag:nth-child(2) { animation-delay: .6s; }
  .flag:nth-child(3) { animation-delay: .85s; }
  .flag:nth-child(4) { animation-delay: 1.1s; }
  .report-status, .report-foot { animation: flagIn .5s ease both; animation-delay: 1.4s; }
  @keyframes flagIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
