/* A S A R & CO — site styles */

@font-face { font-family: "Raleway"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/raleway-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/raleway-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/raleway-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --blue: #0A70A1;       /* the logo's own blue */
  --blue-dark: #085A82;
  --navy: #0B3A57;
  --orange: #F07830;
  --orange-soft: #F6B48A;
  --cyan: #3EC1D5;
  --paper: #F3F7FA;
  --ink: #1F2B35;
  --muted: #52626F;
  --rule: #D5E1EA;
  --field: #AFC3D1;
  --wrap: 1120px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }

h1, h2, h3 {
  font-family: "Raleway", "Open Sans", system-ui, sans-serif;
  color: var(--navy);
  font-variant-numeric: lining-nums;
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.55rem, 1.3rem + 1vw, 2.05rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

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

:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 4px; }

/* ---------- Top strip: email and social media (every page) ---------- */

.topbar { background: var(--navy); color: #fff; font-size: 0.92rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-mail { color: #fff; text-decoration: none; font-weight: 600; }
.topbar-mail:hover { color: #fff; text-decoration: underline; }
.topbar :focus-visible { outline-color: #fff; }

.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 4px; color: #fff; }
.social a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.social svg { width: 17px; height: 17px; display: block; }
.social-footer { margin-top: 18px; margin-left: -8px; }

/* ---------- Header ---------- */

.site-header { background: var(--blue); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: block; flex: none; }
.brand img { width: 250px; height: auto; }
.site-header :focus-visible { outline-color: #fff; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.site-nav a {
  display: block;
  white-space: nowrap;
  padding: 10px 14px;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: 4px;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--cyan); border-radius: 4px 4px 0 0; }

.menu-btn {
  display: none;
  font: 700 0.98rem "Raleway", sans-serif;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  padding: 13px 22px;
  border-radius: 4px;
  border: 2px solid var(--blue);
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-quiet { background: transparent; color: var(--blue); }
.btn-quiet:hover { background: var(--paper); color: var(--blue-dark); }

/* ---------- Home: hero ---------- */

.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 1.7rem + 4vw, 4.4rem); letter-spacing: 0.02em; margin-bottom: 0.2em; }
.hero-sub { font-family: "Raleway", sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--blue); margin-bottom: 1.4em; }
.hero-lede { font-size: 1.15rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Stages of a GST dispute (the signature element) ---------- */

.stages-panel { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 28px 28px 20px; }
.stages-panel h2 { font-size: 1.25rem; margin-bottom: 20px; }
.stages-foot { color: var(--muted); font-size: 0.95rem; margin: 6px 0 0; padding-left: 54px; }

.stages { list-style: none; margin: 0; padding: 0; counter-reset: stage; }
.stages li { position: relative; counter-increment: stage; padding: 0 0 18px 54px; min-height: 52px; }
.stages li::before {
  content: counter(stage);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  font: 800 1.2rem/38px "Raleway", sans-serif;
  font-variant-numeric: lining-nums;
  text-align: center;
}
.stages li::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 40px;
  bottom: 2px;
  width: 2px;
  background: var(--orange-soft);
}
.stages li:last-child::after { display: none; }
.stage-name { display: block; font-family: "Raleway", sans-serif; font-weight: 700; color: var(--navy); font-size: 1.06rem; line-height: 1.3; padding-top: 7px; }
.stage-note { display: block; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }

/* The first two stages (before a notice, show cause notice) are marked */
.stages li.stage-key::before { box-shadow: 0 0 0 5px rgba(240, 120, 48, 0.24); }
.stages li.stage-key .stage-name { color: var(--blue); }
.stages:not(.stages-row) li.stage-key { background: #FFF3EA; margin: 0 -14px; padding-left: 68px; padding-right: 14px; }
.stages:not(.stages-row) li.stage-key::before { left: 14px; }
.stages:not(.stages-row) li.stage-key::after { left: 32px; }
.stages:not(.stages-row) li.stage-key:first-child { border-radius: 8px 8px 0 0; padding-top: 14px; }
.stages:not(.stages-row) li.stage-key:first-child::before { top: 14px; }
.stages:not(.stages-row) li.stage-key:first-child::after { top: 54px; }
.stages:not(.stages-row) li.stage-key + li.stage-key { border-radius: 0 0 8px 8px; padding-bottom: 16px; margin-bottom: 4px; }

/* Horizontal version on the services page */
.stages-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 18px; margin-top: 48px; }
.stages-row li { padding: 52px 0 0; min-height: 0; }
.stages-row li::after { left: 44px; right: -14px; top: 18px; bottom: auto; width: auto; height: 2px; }
.stages-row .stage-name { padding-top: 0; }

/* ---------- Home: who we are ---------- */

.home-about { padding: 64px 0; border-top: 1px solid var(--rule); }
.home-about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.home-about p { max-width: 34em; }
.home-about .more-link { margin-top: 20px; }
.partner-links { list-style: none; margin: 0; padding: 0; }
.partner-links li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.partner-links li:first-child { border-top: 1px solid var(--rule); }
.partner-links a { display: block; font-family: "Raleway", sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--navy); text-decoration: none; }
.partner-links a:hover { color: var(--blue); text-decoration: underline; }
.partner-links span { display: block; color: var(--muted); font-size: 0.95rem; }

/* ---------- Home: services overview ---------- */

.overview { padding: 72px 0; border-top: 1px solid var(--rule); }
.overview > .wrap > p { color: var(--muted); max-width: 40em; }
.feature { background: var(--paper); border-left: 5px solid var(--blue); border-radius: 0 8px 8px 0; padding: 26px 28px; margin: 28px 0 36px; }
.feature h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 0.4em; }
.feature p { margin: 0; max-width: 46em; }
.feature-tag { display: block; font-family: "Open Sans", sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--blue); margin-top: 4px; }

.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px 40px; }
.service-list li { border-top: 2px solid var(--rule); padding-top: 16px; }
.service-list h3 { margin-bottom: 0.35em; }
.service-list p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.overview h3 a, .service-list h3 a { color: var(--navy); text-decoration: none; }
.overview h3 a:hover, .service-list h3 a:hover { color: var(--blue); text-decoration: underline; }
.more-link { margin: 36px 0 0; font-weight: 600; }

/* ---------- Contact ---------- */

.contact { background: var(--paper); padding: 72px 0; border-top: 1px solid var(--rule); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: stretch; }
.contact address { font-style: normal; margin-bottom: 24px; font-size: 1.05rem; }
.contact-list { margin: 0 0 24px; }
.contact-list div { display: grid; grid-template-columns: 165px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.contact-list div:first-child { border-top: 1px solid var(--rule); }
.contact-list dt { font-weight: 600; }
.contact-list dd { margin: 0; }
.social { color: var(--muted); }

.contact-form { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 28px; }
.contact-form h3 { margin-bottom: 4px; }
.contact-form label { display: block; font-family: "Raleway", sans-serif; font-weight: 700; color: var(--navy); margin: 18px 0 6px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--field);
  border-radius: 4px;
  padding: 11px 12px;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-note { color: var(--muted); font-size: 0.93rem; margin: 14px 0 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map { min-height: 340px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 1px solid var(--rule); border-radius: 8px; }

/* ---------- Inner pages ---------- */

.page-head { background: var(--paper); border-bottom: 1px solid var(--rule); padding: 56px 0 44px; }
.page-head h1 { margin-bottom: 0.3em; }
.page-lede { font-size: 1.15rem; color: var(--muted); max-width: 40em; margin: 0; }

.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.prose { max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }

.vm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.plain-list li:first-child { border-top: 1px solid var(--rule); }

.partner { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 44px; padding: 40px 0; border-top: 1px solid var(--rule); }
.partners h2 { margin-bottom: 1em; }
.partner h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.2em; }
.role { color: var(--blue); font-weight: 600; margin: 0 0 16px; }
.quals { list-style: none; margin: 0; padding: 0; font-size: 0.93rem; color: var(--muted); }
.quals li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
.partner-bio { max-width: 68ch; }
.partner-bio p:last-child { margin-bottom: 0; }

/* Services page */
.jump ul { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.jump a { font-weight: 600; text-decoration-thickness: 1px; }

.service { padding: 64px 0; border-top: 1px solid var(--rule); }
.service-lead { background: var(--paper); border-top: 0; border-bottom: 1px solid var(--rule); }
.service-lead + .service { border-top: 0; }
.service-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 52px; align-items: start; }
.service-tag { color: var(--blue); font-weight: 600; margin-top: -0.3em; }
.service-intro p:last-child { margin-bottom: 0; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.items li:first-child { border-top: 1px solid var(--rule); }
.service-lead .stages-row + .stages-note { margin-top: 8px; }

/* Downloads page */
.downloads { background: var(--paper); padding: 52px 0 72px; }
.downloads .wrap { display: flex; flex-direction: column; gap: 44px; }
.dl-group h2 { font-size: 1.45rem; margin-bottom: 18px; }
.dl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dl-item { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: #fff; border: 1px solid var(--rule); border-left: 5px solid var(--blue); border-radius: 0 8px 8px 0; padding: 22px 26px; }
.dl-text { min-width: 0; max-width: 46em; }
.dl-item h3 { margin: 0 0 0.3em; }
.dl-item p { margin: 0; color: var(--muted); }
.dl-item .dl-source { margin-top: 8px; font-size: 0.92rem; color: var(--ink); }
.dl-item .dl-meta { margin-top: 10px; font-size: 0.9rem; font-weight: 600; color: var(--blue); }
.dl-item .btn { flex: none; }
.dl-note { margin: 0; color: var(--muted); font-size: 0.95rem; }
.dl-actions { display: flex; flex-direction: column; gap: 10px; flex: none; }
.dl-actions .btn { text-align: center; }

/* Online formats (filled in the browser) */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.crumb { margin: 0 0 10px; font-weight: 600; font-size: 0.95rem; }
.pf-page { background: var(--paper); padding: 40px 0 72px; }
.pf-form { max-width: 800px; display: flex; flex-direction: column; gap: 22px; }
.pf-privacy { margin: 0; background: #fff; border: 1px solid var(--rule); border-left: 5px solid var(--cyan); border-radius: 0 8px 8px 0; padding: 14px 18px; }
.pf-form > fieldset { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 20px 24px 24px; margin: 0; min-width: 0; }
.pf-form legend { font-family: "Raleway", sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--navy); padding: 0 6px; margin-left: -6px; }
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.pf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.pf-field.wide { grid-column: 1 / -1; }
.pf-field label, .pf-label { font-family: "Raleway", sans-serif; font-weight: 700; font-size: 1rem; color: var(--navy); padding: 0; margin: 0; }
.pf-field .pf-label { font-size: 1rem; }
.pf-hint { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.45; }
.pf-form input[type="text"], .pf-form input[type="tel"], .pf-form input[type="date"],
.pf-form input[type="number"], .pf-form select, .pf-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--field); border-radius: 4px; padding: 10px 12px; min-height: 46px;
}
.pf-form textarea { resize: vertical; min-height: 74px; line-height: 1.5; }
.pf-form input:focus, .pf-form select:focus, .pf-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.pf-form input[data-upper] { text-transform: uppercase; }
.pf-choices { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.pf-field label.pf-choice { display: flex; align-items: center; gap: 9px; font-family: "Open Sans", system-ui, sans-serif; font-weight: 400; font-size: 1rem; color: var(--ink); cursor: pointer; }
.pf-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.pf-owners { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.pf-owner { background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 16px 18px 20px; margin: 0; min-width: 0; }
.pf-owner legend { font-size: 1.02rem; background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 2px 10px; margin-left: 0; }
.pf-pair { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; max-width: 420px; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pf-actions .btn[disabled] { opacity: 0.6; cursor: wait; }
.pf-status { margin: 0; font-weight: 600; min-height: 1.6em; }
.pf-status.is-done { color: #136141; }
.pf-status.is-error { color: #A9241A; }

/* Live preview beside the form */
.pf-layout { max-width: 1340px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: start; }
.pf-layout .pf-form { max-width: none; }
.pf-jump { display: none; margin: 14px 0 0; font-weight: 600; }
.pf-preview { position: sticky; top: 96px; max-height: calc(100vh - 112px); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.pf-preview-head { padding: 14px 18px 12px; border-bottom: 1px solid var(--rule); }
.pf-preview-head h2 { font-size: 1.2rem; margin: 0 0 2px; }
.pf-preview-head p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.45; }
.pf-sheet { flex: 1 1 auto; min-height: 0; overflow: auto; background: #E6ECF1; padding: 16px; }
.pf-stage { position: relative; overflow: hidden; }
.pf-stage .docx-wrapper { background: transparent !important; padding: 0 !important; display: block !important; transform-origin: top left; }
.pf-stage .docx-wrapper > section.docx { margin: 0 0 18px !important; box-shadow: 0 2px 12px rgba(11, 58, 87, 0.16) !important; }
.pf-stage .docx, .pf-stage .docx * { hyphens: manual !important; -webkit-hyphens: manual !important; }
mark.pf-todo { background: #FFF1A8; color: inherit; padding: 0 2px; border-radius: 2px; }
.pf-preview-foot { padding: 12px 18px; border-top: 1px solid var(--rule); background: #fff; }

@media (max-width: 1100px) {
  .pf-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pf-jump { display: block; }
  .pf-preview { position: static; max-height: none; }
  .pf-sheet { overflow: visible; padding: 12px; }
}

/* Simple message pages */
.message { padding: 64px 0 80px; }
.message .prose a { font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: #DCE8F0; padding: 52px 0 28px; font-size: 0.97rem; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-name { font-family: "Raleway", sans-serif; font-weight: 800; color: #fff; font-size: 1.25rem; margin: 0; }
.site-footer address { font-style: normal; max-width: 32em; }
.footer-side { display: flex; flex-direction: column; align-items: flex-end; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { text-decoration: none; font-weight: 600; }
.footer-nav a:hover { text-decoration: underline; color: #fff; }
.footer-base { margin-top: 36px; }
.footer-base p { margin: 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.9rem; color: #B9CDDA; }
.site-footer :focus-visible { outline-color: #fff; }

/* ---------- Responsive ---------- */

/* Six menu items no longer fit on one line below this width, so the menu folds into the button */
@media (max-width: 1080px) {
  .js .menu-btn { display: inline-block; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--blue); border-top: 1px solid rgba(255, 255, 255, 0.2); padding: 8px var(--gutter) 16px; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); border-radius: 0; }
  .js .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--cyan); padding-left: 14px; border-radius: 0; }
  .no-js .site-nav ul { flex-wrap: wrap; }
}

@media (max-width: 960px) {
  .stages-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }
  .stages-row li:nth-child(4n)::after { display: none; }
}

@media (max-width: 820px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 76px; }
  .header-inner { min-height: 66px; }
  .brand img { width: 196px; }

  .hero { padding: 44px 0 48px; }
  .hero-grid, .contact-grid, .vm-grid, .service-grid, .partner, .home-about-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-about { padding: 52px 0; }
  .partner { gap: 20px; }
  .overview, .contact, .section, .service { padding: 52px 0; }
  .downloads { padding: 36px 0 52px; }
  .dl-item { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 18px; }
  .dl-actions { flex-direction: row; flex-wrap: wrap; }
  .pf-page { padding: 28px 0 52px; }
  .pf-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pf-form > fieldset { padding: 16px 16px 20px; }
  .pf-owner { padding: 14px 12px 16px; }
  .page-head { padding: 40px 0 32px; }
  .contact-list div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .topbar-inner { gap: 8px; }
  .social a { width: 32px; height: 32px; }
  .footer-side { align-items: flex-start; }
  .social-footer { margin-left: -8px; }
  .map iframe { height: 300px; }

  .stages-row { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 36px; }
  .stages-row li { padding: 0 0 18px 54px; min-height: 52px; }
  .stages-row li::after { left: 18px; right: auto; top: 40px; bottom: 2px; width: 2px; height: auto; }
  .stages-row li:nth-child(4n)::after { display: block; }
  .stages-row li:last-child::after { display: none; }
  .stages-row .stage-name { padding-top: 7px; }
}

@media (max-width: 380px) {
  .topbar-mail { display: none; }
  .topbar-inner { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .site-header { position: static; }
  .menu-btn, .map, .contact-form { display: none; }
}

/* ---------- Rent agreement form: party blocks, notes, clause checklist, wording editor */
.pf-form fieldset.pp-block { border: 0; padding: 0; margin: 0; background: none; min-width: 0; }
.pf-grid > .wide { grid-column: 1 / -1; }
.pf-owner > .pp-block { margin-top: 18px; }
.pf-calc { margin: -8px 0 0; color: var(--muted); font-size: 0.95rem; min-height: 0; }
.pf-calc:empty { display: none; }
.pf-note { background: var(--paper); border-left: 4px solid var(--blue); border-radius: 4px; padding: 12px 16px; font-size: 0.93rem; line-height: 1.5; }
.pf-note p { margin: 0 0 6px; }
.pf-note p:last-child { margin: 0; }
.rc-list { display: flex; flex-direction: column; gap: 22px; margin-top: 14px; }
.rc-group-title { font-family: "Raleway", sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--navy); margin: 0 0 4px; }
.rc-core-group > summary { cursor: pointer; font-family: "Raleway", sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--navy); padding: 4px 0; }
.rc-core-group[open] > summary { margin-bottom: 4px; }
.rc-item { border-top: 1px solid var(--rule); padding: 10px 0; }
.rc-head { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.rc-head .rc-check, .rc-core .rc-title { flex: 1 1 260px; }
.rc-core .rc-title { color: var(--ink); }
.rc-badge { font-size: 0.78rem; font-weight: 700; color: #6B4A00; background: #FFF1A8; border-radius: 3px; padding: 1px 7px; }
.rc-edit { background: none; border: 0; padding: 2px 0; color: var(--blue); font: inherit; font-size: 0.92rem; text-decoration: underline; cursor: pointer; }
.rc-edit:hover { color: var(--navy); }
.pf-form fieldset.rc-opts { margin: 12px 0 6px 28px; gap: 14px 20px; }
.rc-editor { margin: 12px 0 4px 28px; display: flex; flex-direction: column; gap: 8px; }
.rc-editor textarea { width: 100%; }
.rc-editor-actions { margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 820px) {
  .pf-form fieldset.rc-opts, .rc-editor { margin-left: 0; }
}

/* ---------- IRR calculator */
.irr-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: start; max-width: 1340px; }
.irr-plans { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
#irr-plan-list { display: flex; flex-direction: column; gap: 22px; }
.irr-plan { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 20px 22px 16px; min-width: 0; }
.irr-plan-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 6px; }
.irr-plan-head h2 { font-family: "Raleway", sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--navy); margin: 0; }
.irr-plan label, .irr-name-label { display: flex; flex-direction: column; gap: 5px; font-family: "Raleway", sans-serif; font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.irr-plan input, .irr-plan select { font: inherit; font-family: "Open Sans", system-ui, sans-serif; font-weight: 400; font-size: 0.98rem; color: var(--ink); padding: 8px 10px; border: 1px solid #B9C9D6; border-radius: 4px; background: #fff; min-width: 0; }
.irr-plan input:focus, .irr-plan select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.irr-quick { margin: 12px 0; border: 1px solid var(--rule); border-radius: 6px; padding: 10px 14px; background: var(--paper); }
.irr-quick summary { cursor: pointer; font-family: "Raleway", sans-serif; font-weight: 700; color: var(--navy); }
.irr-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; align-items: end; margin-top: 10px; }
.irr-quick-grid .btn { grid-column: 1 / -1; justify-self: start; }
.irr-table-wrap { overflow-x: auto; margin-top: 8px; position: relative; }
.irr-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.irr-table th { text-align: left; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 6px; border-bottom: 1px solid var(--rule); }
.irr-table td { padding: 4px 6px; border-bottom: 1px solid var(--rule); }
.irr-table input { width: 100%; padding: 6px 8px; font-size: 0.95rem; }
.irr-table input[type="number"] { text-align: right; font-variant-numeric: tabular-nums; }
.irr-remove { background: none; border: 0; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 4px 6px; }
.irr-remove:hover { color: #B3261E; }
.irr-plan-actions, .irr-side-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }
.irr-results { position: sticky; top: 96px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 20px 22px; min-width: 0; }
.irr-results h2 { font-family: "Raleway", sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--navy); margin: 0 0 10px; }
.irr-figs { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.irr-figs th, .irr-figs td { padding: 8px 6px; border-bottom: 1px solid var(--rule); text-align: right; }
.irr-figs th[scope="row"] { text-align: left; font-weight: 600; color: var(--ink); }
.irr-figs thead th { font-family: "Raleway", sans-serif; color: var(--navy); }
.irr-row-irr td { font-family: "Raleway", sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.irr-na { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.irr-verdict { margin: 12px 0 0; font-weight: 700; color: #1E6B3A; }
.irr-compare { margin: 14px 0 8px; }
@media (max-width: 1100px) {
  .irr-layout { grid-template-columns: minmax(0, 1fr); }
  .irr-results { position: static; order: -1; }
}
@media (max-width: 820px) {
  .irr-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .irr-plan { padding: 16px 14px; }
}

/* ---------- Home: Formats & Tools, and Videos and posts */
.home-tools, .home-social { padding: 64px 0; }
.home-tools { background: #fff; border-top: 1px solid var(--rule); }
.home-social { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.home-sec-head { max-width: 780px; margin-bottom: 26px; }
.home-sec-head h2 { font-family: "Raleway", sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy); margin: 0 0 10px; }
.home-sec-head p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.tool-cards, .social-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.tool-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.social-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tool-card a, .social-card a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 22px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tool-card a { border-top: 4px solid var(--blue); }
.tool-card a:hover, .social-card a:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(11, 58, 87, 0.12); transform: translateY(-2px); }
.tool-title, .social-name { font-family: "Raleway", sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.tool-desc { flex: 1; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }
.tool-go { font-weight: 700; color: var(--blue); }
.social-card a { align-items: flex-start; gap: 4px; padding: 20px; }
.social-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin-bottom: 8px; }
.social-icon svg { width: 24px; height: 24px; fill: currentColor; }
.social-handle { font-size: 0.88rem; color: var(--muted); overflow-wrap: anywhere; }
.social-what { font-size: 0.95rem; font-weight: 600; margin-top: 4px; }
@media (max-width: 1000px) {
  .tool-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-tools, .home-social { padding: 44px 0; }
  .tool-cards { grid-template-columns: minmax(0, 1fr); }
  .social-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.home-tools .lc-more { margin: 28px 0 0; }

/* ---------- Home: our work on GST notices (Nov 2026) ---------- */
.home-notice { background: #fff; border-top: 1px solid var(--rule); padding: 60px 0 64px; }
.notice-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.notice-card { background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--orange); border-radius: 8px; padding: 24px 26px 22px; }
.notice-card h3 { display: flex; align-items: center; gap: 12px; font-family: "Raleway", sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--navy); margin: 0 0 14px; }
.notice-step { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--navy); font: 800 1.05rem/34px "Raleway", sans-serif; font-variant-numeric: lining-nums; text-align: center; }
.notice-card p { margin: 0 0 12px; }
.notice-card p:last-child { margin-bottom: 0; }
.notice-what { font-weight: 600; }
.notice-card ul { margin: 0 0 12px; padding-left: 1.25em; }
.notice-card li { margin: 0 0 6px; }
.notice-card li::marker { color: var(--orange); }
.home-notice .lc-more { margin: 26px 0 0; }

/* Services page: what we examine in every show cause notice */
.notice-checks { margin-top: 44px; background: #fff; border: 1px solid var(--rule); border-left: 5px solid var(--orange); border-radius: 0 8px 8px 0; padding: 26px 28px; }
.notice-checks h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 0 0 16px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 5px; top: 0.25em; width: 7px; height: 13px; border: solid var(--orange); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.check-list strong { color: var(--navy); }

@media (max-width: 820px) {
  .home-notice { padding: 44px 0 48px; }
  .notice-cards { grid-template-columns: minmax(0, 1fr); }
  .notice-card { padding: 20px 18px; }
  .notice-checks { margin-top: 32px; padding: 20px 18px; }
  .check-list { grid-template-columns: minmax(0, 1fr); }
}
.nw { white-space: nowrap; }
.items strong { color: var(--navy); }
