:root {
  --aoc-red: #ef331c;
  --aoc-yellow: #ffcf00;
  --aoc-cyan: #08b4d1;
  --aoc-green: #00bd65;
  --aoc-ink: #272422;
  --aoc-paper: #ffffff;
  --aoc-muted: #5d5a58;
  --aoc-rule: #3d3937;
}

* { box-sizing: border-box; }

html { background: #eceae5; }

body {
  margin: 0;
  color: var(--aoc-ink);
  background: #eceae5;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.flier {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 30px 18px 52px;
}

.flier-page {
  position: relative;
  overflow: hidden;
  min-height: 1420px;
  margin: 0 auto 30px;
  padding: 58px 58px 88px;
  background: var(--aoc-paper);
  box-shadow: 0 22px 42px rgba(18, 26, 31, .15);
}

.flier-page:last-child { margin-bottom: 0; }

.colour-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 14px;
  margin: -58px -58px 28px;
}

.colour-strip span:nth-child(1) { background: var(--aoc-red); }
.colour-strip span:nth-child(2) { background: var(--aoc-yellow); }
.colour-strip span:nth-child(3) { background: var(--aoc-cyan); }
.colour-strip span:nth-child(4) { background: var(--aoc-green); }

.cover-title {
  margin: 0 -58px;
  padding: 44px 58px 40px;
  color: #fff;
  background: var(--aoc-green);
}

.cover-title .eyebrow,
.part-label,
.meta-label,
.contact-label {
  margin: 0;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cover-title .eyebrow { font-size: clamp(15px, 1.75vw, 20px); }

.cover-title h1 {
  max-width: 950px;
  margin: 27px 0 0;
  font-size: clamp(40px, 6.2vw, 78px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: .005em;
  text-transform: uppercase;
}

.metadata {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 -58px 32px;
}

.metadata > div { min-height: 96px; padding: 22px 58px; }
.metadata .website { background: var(--aoc-yellow); }
.metadata .abn { color: #fff; background: var(--aoc-cyan); }
.metadata .effective { color: #fff; background: var(--aoc-green); }
.metadata .updated { color: #fff; background: var(--aoc-ink); }

.meta-label { font-size: 15px; }
.meta-value { margin: 9px 0 0; font-size: 19px; font-weight: 700; }

.section { margin: 0 0 31px; }
.section:last-of-type { margin-bottom: 0; }

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 17px;
  padding: 0 0 13px;
  border-bottom: 2px solid currentColor;
  color: var(--aoc-ink);
  font-size: clamp(20px, 2.9vw, 32px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.section-title::before {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  content: "";
  background: currentColor;
}

.section.red .section-title { color: var(--aoc-red); }
.section.cyan .section-title { color: var(--aoc-cyan); }
.section.green .section-title { color: var(--aoc-green); }
.section.yellow .section-title { color: var(--aoc-yellow); }
.section-title span { color: var(--aoc-ink); }

.section p,
.split-feature p,
.contact-copy,
.consent-copy {
  margin: 0 0 13px;
  font-size: clamp(16px, 2.05vw, 21px);
  font-weight: 500;
  line-height: 1.38;
}

.section p:last-child,
.split-feature p:last-child { margin-bottom: 0; }

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 34px;
  border-top: 2px solid var(--aoc-rule);
}

.split-feature { padding: 26px 26px 10px 0; }
.split-feature + .split-feature { padding: 26px 0 10px 28px; border-left: 2px solid var(--aoc-rule); }
.split-feature h2 {
  margin: 0 0 17px;
  font-size: clamp(23px, 3.2vw, 35px);
  font-weight: 900;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.split-feature.cyan h2 { color: var(--aoc-cyan); }
.split-feature.green h2 { color: var(--aoc-green); }
.split-feature.red h2 { color: var(--aoc-red); }

.part-banner {
  margin: 50px -58px 36px;
  padding: 55px 58px 56px;
  color: #fff;
  background: var(--aoc-ink);
}

.part-label { color: var(--aoc-yellow); font-size: 15px; }
.part-banner h2 {
  max-width: 740px;
  margin: 25px 0 0;
  font-size: clamp(40px, 6.6vw, 76px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: .005em;
  text-transform: uppercase;
}

.contact-panel {
  margin: 35px -58px 0;
  padding: 36px 58px 40px;
  background: var(--aoc-yellow);
}
.contact-panel h2 {
  margin: 0 0 22px;
  font-size: clamp(31px, 5vw, 54px);
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
}
.contact-copy { margin-bottom: 25px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 36px; }
.contact-item.address { grid-column: 1 / -1; }
.contact-label { margin: 0 0 10px; font-size: 14px; }
.contact-value { margin: 0; font-size: clamp(17px, 2.2vw, 23px); font-weight: 600; line-height: 1.3; }

.consent-panel {
  display: grid;
  grid-template-columns: 37px 1fr;
  gap: 18px;
  margin: 0 -58px;
  padding: 34px 58px 38px;
  color: #fff;
  background: var(--aoc-ink);
}
.checkbox { width: 27px; height: 27px; margin-top: 2px; border: 2px solid #fff; }
.consent-copy { margin: 0; font-size: clamp(16px, 2.05vw, 21px); }
.consent-copy .contact-label { color: var(--aoc-yellow); display: block; margin-bottom: 15px; }

.page-footer {
  position: absolute;
  right: 58px;
  bottom: 31px;
  left: 58px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 2px solid var(--aoc-rule);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.25;
  text-transform: uppercase;
}
.page-footer .page-number { color: var(--aoc-red); text-align: right; }

/* Single-page reader controls (the print view still includes every page). */
.flier-page:not(.is-active) { display: none; }
.flier-page.is-active { display: block; }
.terms-pagination {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 4px auto 0;
  max-width: 1040px;
}
.terms-pagination button {
  appearance: none;
  background: var(--aoc-ink);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  min-width: 112px;
  padding: 13px 20px;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.terms-pagination button:hover:not(:disabled),
.terms-pagination button:focus-visible:not(:disabled) {
  background: var(--aoc-green);
  transform: translateY(-2px);
}
.terms-pagination button:focus-visible { outline: 3px solid var(--aoc-yellow); outline-offset: 3px; }
.terms-pagination button:disabled { cursor: not-allowed; opacity: .35; }
.terms-page-status {
  color: var(--aoc-ink);
  font-size: 15px;
  font-weight: 800;
  min-width: 98px;
  text-align: center;
}
.terms-page-status strong { color: var(--aoc-red); font-size: 19px; }

@media (max-width: 720px) {
  .flier { padding: 0; }
  .flier-page { min-height: 0; margin: 0 0 16px; padding: 30px 22px 68px; box-shadow: none; }
  .colour-strip { height: 9px; margin: -30px -22px 19px; }
  .cover-title { margin: 0 -22px; padding: 35px 22px 31px; }
  .cover-title h1 { margin-top: 20px; font-size: clamp(34px, 11vw, 52px); }
  .metadata { margin: 0 -22px 27px; }
  .metadata > div { min-height: 76px; padding: 17px 22px; }
  .meta-label { font-size: 12px; }
  .meta-value { margin-top: 6px; font-size: 16px; }
  .section { margin-bottom: 27px; }
  .section-title { gap: 10px; margin-bottom: 13px; padding-bottom: 10px; font-size: clamp(20px, 6.6vw, 27px); }
  .section-title::before { width: 15px; height: 15px; flex-basis: 15px; }
  .section p, .split-feature p, .contact-copy, .consent-copy { font-size: 16px; line-height: 1.43; }
  .split-grid { display: block; margin-bottom: 27px; }
  .split-feature, .split-feature + .split-feature { padding: 20px 0 5px; border-left: 0; }
  .split-feature + .split-feature { border-top: 1px solid #c6c3bd; }
  .split-feature h2 { font-size: 25px; }
  .part-banner { margin: 36px -22px 27px; padding: 36px 22px; }
  .part-banner h2 { font-size: clamp(37px, 11.5vw, 56px); }
  .contact-panel { margin: 30px -22px 0; padding: 30px 22px; }
  .contact-grid { grid-template-columns: 1fr; gap: 23px; }
  .contact-item.address { grid-column: auto; }
  .consent-panel { grid-template-columns: 28px 1fr; gap: 13px; margin: 0 -22px; padding: 28px 22px; }
  .checkbox { width: 23px; height: 23px; }
  .page-footer { position: static; margin-top: 43px; padding-top: 15px; font-size: 10px; }
  .page-footer .page-number { text-align: left; }
  .terms-pagination { gap: 10px; margin: 0 14px 20px; }
  .terms-pagination button { min-width: 0; padding: 11px 14px; font-size: 13px; }
  .terms-page-status { font-size: 13px; min-width: 76px; }
}

@media (max-width: 420px) {
  .metadata { grid-template-columns: 1fr; }
  .metadata > div { min-height: 67px; }
  .page-footer { flex-direction: column; gap: 5px; }
}

@media print {
  html, body { background: #fff; }
  .flier { width: auto; padding: 0; }
  .flier-page { width: 210mm; min-height: 297mm; margin: 0; padding: 11mm 11mm 17mm; box-shadow: none; break-after: page; }
  .flier-page:last-child { break-after: auto; }
  .terms-pagination { display: none; }
  .flier-page { display: block !important; }
}
