/* Mizaan Tax and Accounting: site styles.
   Colours, fonts and text styles come from the brand kit (brand.css / tokens.json).
   Do not add new colours here. */

@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/SourceSans3-Variable.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

:root {
  --navy-900: #192b53; --blue-700: #255a7f; --blue-600: #2d7291; --teal-400: #6fb0b4;
  --ink: #333333; --ink-muted: #566170;
  --surface-0: #ffffff; --surface-50: #f5f8fa; --surface-100: #e6eef3;
  --line: #d3dee5; --control-border: #7a8996;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-full: 999px;
  --shadow-1: 0 1px 2px rgba(25, 43, 83, 0.08), 0 8px 24px rgba(25, 43, 83, 0.08);
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --section-pad: var(--space-12);
  --header-h: 76px;
}
@media (min-width: 720px) { :root { --section-pad: var(--space-16); } }
@media (min-width: 1024px) { :root { --section-pad: var(--space-24); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--surface-0); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 27px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: var(--blue-700); text-underline-offset: 3px; transition: color .15s; }
a:hover { color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; border-radius: 4px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--teal-400); }

.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; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-md); z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

/* Text styles (brand kit) */
.display { font-family: var(--font-display); font-size: 40px; line-height: 46px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy-900); }
@media (min-width: 720px) { .display { font-size: 56px; line-height: 60px; } }
.h1 { font-family: var(--font-display); font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.015em; color: var(--navy-900); }
@media (min-width: 720px) { .h1 { font-size: 40px; line-height: 48px; } }
.h2 { font-family: var(--font-display); font-size: 26px; line-height: 34px; font-weight: 600; letter-spacing: -0.01em; color: var(--navy-900); }
@media (min-width: 720px) { .h2 { font-size: 30px; line-height: 38px; } }
.h3 { font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--navy-900); }
@media (min-width: 720px) { .h3 { font-size: 22px; line-height: 30px; } }
.eyebrow { font-family: var(--font-display); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-700); }
.body-lg { font-size: 19px; line-height: 29px; }
@media (min-width: 720px) { .body-lg { font-size: 20px; line-height: 30px; } }
.small { font-size: 14px; line-height: 20px; }
.muted { color: var(--ink-muted); }
.center { text-align: center; }

/* Layout */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--space-4); }
@media (min-width: 720px) { .wrap { padding: 0 var(--space-6); } }
.narrow { max-width: 820px; }
.section { padding: var(--section-pad) 0; }
.alt { background: var(--surface-50); }
.section-head { max-width: 720px; margin-bottom: var(--space-8); }
.section-head .eyebrow { margin-bottom: var(--space-3); }
.section-head .body-lg { margin-top: var(--space-4); }
.center .section-head, .section-head.center { margin-left: auto; margin-right: auto; }
.grid-3, .grid-4 { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 12px 22px; border-radius: var(--radius-md); background: var(--navy-900); color: var(--surface-0); border: 2px solid var(--navy-900); font-family: var(--font-display); font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn:hover { background: var(--blue-700); border-color: var(--blue-700); color: var(--surface-0); }
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn-secondary { background: var(--surface-0); color: var(--navy-900); border-color: var(--control-border); }
.btn-secondary:hover { background: var(--surface-50); border-color: var(--navy-900); color: var(--navy-900); }
.btn-sm { min-height: 44px; padding: 10px 16px; }
.btn-lg { min-height: 54px; padding: 14px 24px; font-size: 16px; }
.btn-xl { min-height: 60px; padding: 16px 32px; font-size: 17px; }
.btn-xl .icon { width: 22px; height: 22px; }
.btn-invert { background: var(--surface-0); color: var(--navy-900); border-color: var(--surface-0); }
.dark .btn-invert { color: var(--navy-900); }
.btn-invert:hover, .dark .btn-invert:hover { background: var(--teal-400); border-color: var(--teal-400); color: var(--navy-900); }
.link-arrow { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-weight: 600; font-size: 15px; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-row { display: flex; align-items: center; gap: var(--space-6); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; padding: 6px 0; }
.brand img { height: 52px; width: auto; }
.main-nav { display: none; gap: var(--space-6); margin-left: auto; }
.main-nav a { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--navy-900); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--teal-400); }
.site-header .btn { margin-left: auto; display: none; }
@media (min-width: 720px) { .site-header .btn { display: inline-flex; } }
@media (min-width: 960px) { .main-nav { display: flex; } .site-header .btn { margin-left: 0; } }

/* Mobile menu (phones and tablets, below 960px) */
.menu-btn { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; padding: 10px 12px; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--navy-900); font-family: var(--font-display); font-size: 15px; font-weight: 600; cursor: pointer; }
.site-header .btn + .menu-btn { margin-left: 0; }
@media (max-width: 719px) { .site-header .btn + .menu-btn { margin-left: auto; } }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: var(--surface-0); }
.mobile-menu[hidden] { display: none; }
.mobile-menu .wrap { display: grid; padding-top: var(--space-2); padding-bottom: var(--space-6); }
.mobile-menu a:not(.btn) { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--navy-900); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
.site-header .mobile-menu .btn { display: inline-flex; margin: var(--space-6) 0 0; justify-content: center; }
@media (min-width: 960px) { .menu-btn, .mobile-menu { display: none !important; } }

/* Hero */
.hero { padding: var(--space-12) 0 var(--space-8); overflow: hidden; }
@media (min-width: 1024px) { .hero { padding: var(--space-16) 0 var(--space-12); } }
.hero-grid { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero-copy .eyebrow { margin-bottom: var(--space-4); }
.lede { margin-top: var(--space-6); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-8) 0 var(--space-4); }
@media (max-width: 480px) { .actions .btn { width: 100%; } }
.hero-side { position: relative; min-height: 460px; display: flex; align-items: flex-end; justify-content: flex-start; }
.blades { position: absolute; top: 0; right: 0; width: 100%; max-width: 400px; height: auto; }
.deadline-card { position: relative; width: min(100%, 340px); background: var(--surface-0); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: var(--space-6); }
.deadline-card[hidden] { display: none; }
.deadline-date { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 34px; color: var(--navy-900); margin: var(--space-2) 0 var(--space-2); letter-spacing: -0.01em; }
.deadline-what { color: var(--ink-muted); }
.deadline-count { display: inline-block; margin: var(--space-4) 0; padding: 6px 12px; border-radius: var(--radius-full); background: var(--surface-100); color: var(--navy-900); font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.deadline-count[hidden] { display: none; }
.deadline-card .link-arrow { display: flex; margin-top: var(--space-4); }
.deadline-count:not([hidden]) + .link-arrow { margin-top: 0; }
@media (max-width: 959px) { .hero-side { min-height: 0; } .blades { display: none; } .deadline-card { width: 100%; max-width: 480px; } }

.trust-strip { list-style: none; padding: var(--space-6) 0 0; margin-top: var(--space-12); border-top: 1px solid var(--line); display: grid; gap: var(--space-3) var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 720px) { .trust-strip { grid-template-columns: repeat(2, auto); justify-content: start; } }
@media (min-width: 1024px) { .trust-strip { grid-template-columns: repeat(4, auto); justify-content: space-between; } }
.trust-strip li { display: flex; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--navy-900); }
.trust-strip .icon { width: 20px; height: 20px; color: var(--blue-600); flex: none; }

/* Cards */
.card { background: var(--surface-0); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.alt .card { background: var(--surface-0); }
.card-icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--surface-100); color: var(--blue-700); display: grid; place-items: center; margin-bottom: var(--space-2); }
.card-icon .icon { width: 24px; height: 24px; }
.card-feature { position: relative; padding-top: var(--space-8); border-top: 4px solid var(--navy-900); }
.grid-3 .card-feature:nth-child(2) { border-top-color: var(--blue-600); }
.grid-3 .card-feature:nth-child(3) { border-top-color: var(--teal-400); }
.card-num { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .12em; color: var(--ink-muted); }
.card-price { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--line); color: var(--ink-muted); }
.card-price strong { font-family: var(--font-display); color: var(--navy-900); font-size: 20px; }
.card-plain { background: transparent; }

.also { margin-top: var(--space-8); display: grid; gap: var(--space-3); }
@media (min-width: 720px) { .also { grid-template-columns: auto 1fr; align-items: start; gap: var(--space-6); } .also-label { padding-top: 7px; } }
.also-label { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chips li { padding: 5px 12px; border-radius: var(--radius-sm); background: var(--surface-100); color: var(--navy-900); font-size: 15px; line-height: 22px; }
.chips-lg { margin-top: var(--space-6); }
.chips-lg li { background: var(--surface-0); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 14px; }

.sectors { margin-top: var(--space-8); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.sectors .also-label { margin-right: var(--space-2); padding-top: 0; }
.sector { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--navy-900); padding-left: var(--space-3); border-left: 3px solid var(--teal-400); }

.callout { margin-top: var(--space-12); background: var(--surface-0); border: 1px solid var(--line); border-left: 6px solid var(--blue-600); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .callout { grid-template-columns: 1.4fr 1fr; align-items: center; padding: var(--space-8); } }
.callout .eyebrow { margin-bottom: var(--space-2); }
.callout .h3 { margin-bottom: var(--space-3); }
.mtd-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.mtd-table th { text-align: left; font-family: var(--font-display); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); background: var(--surface-100); padding: 10px 14px; }
.mtd-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mtd-table td:last-child { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; gap: var(--space-6); counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-8); } }
.step { position: relative; display: flex; flex-direction: column; gap: var(--space-3); }
.step-num { width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--navy-900); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: var(--space-2); }
@media (min-width: 900px) { .step:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 64px; right: -16px; height: 2px; background: var(--line); } }

/* Pricing */
.price-card { gap: var(--space-2); }
.price { margin-top: auto; padding-top: var(--space-4); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-from, .price-per { color: var(--ink-muted); font-size: 15px; }
.price-num { font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 40px; color: var(--navy-900); letter-spacing: -0.02em; }
.prices + .center { margin-top: var(--space-8); }

/* Dark sections */
.dark { background: var(--navy-900); color: var(--surface-0); }
.dark .h1, .dark .h2, .dark .h3 { color: var(--surface-0); }
.dark .eyebrow { color: var(--teal-400); }
.dark a { color: var(--surface-0); }
.dark a:hover { color: var(--teal-400); }
.about-grid { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr 1fr; gap: var(--space-16); } }
.about-grid .eyebrow { margin-bottom: var(--space-3); }
.about-grid .h2 { margin-bottom: var(--space-4); }
.about-grid .body-lg { margin-bottom: var(--space-4); }
.about-panel { border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-lg); padding: var(--space-6); }
.about-panel .eyebrow { margin-bottom: var(--space-4); }
.facts-list { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
.facts-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.facts-list .icon { width: 22px; height: 22px; color: var(--teal-400); flex: none; margin-top: 2px; }
.logo-panel { background: var(--surface-0); border-radius: var(--radius-lg); padding: var(--space-4); display: inline-block; }
.badge { margin-top: var(--space-6); }
.badge img { max-height: 64px; width: auto; }

/* Quotes */
.quote blockquote { margin: 0; font-size: 19px; line-height: 29px; color: var(--ink); }
.quote figcaption { margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--navy-900); }

/* Areas */
.area-grid { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 900px) { .area-grid { grid-template-columns: 1.3fr 1fr; gap: var(--space-12); } }
.area-grid .eyebrow { margin-bottom: var(--space-3); }
.area-grid .h2 { margin-bottom: var(--space-4); }
.visit-card { gap: var(--space-4); background: var(--surface-50); }
.visit-row { display: flex; gap: var(--space-3); align-items: flex-start; }
.visit-row .icon { color: var(--blue-600); flex: none; margin-top: 2px; }

/* FAQs */
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-4); align-items: center; padding: var(--space-6) 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 26px; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--blue-700); border-bottom: 2px solid var(--blue-700); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq p { padding: 0 0 var(--space-6); max-width: 64ch; }

/* Final CTA */
.cta .eyebrow { margin-bottom: var(--space-3); }
.cta .body-lg { margin: var(--space-4) auto var(--space-8); max-width: 32em; opacity: .92; }
.cta-alt { margin-top: var(--space-6); font-size: 16px; opacity: .9; }
.cta { position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(111,176,180,.25); pointer-events: none; }
.cta::before { width: 520px; height: 520px; left: -260px; bottom: -300px; }
.cta::after { width: 380px; height: 380px; right: -180px; top: -220px; }
.cta .wrap { position: relative; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.88); padding: var(--space-16) 0 var(--space-8); border-top: 1px solid rgba(255,255,255,.12); font-size: 16px; }
.site-footer a { color: var(--surface-0); }
.site-footer a:hover { color: var(--teal-400); }
.footer-grid { display: grid; gap: var(--space-8); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.1fr 1.2fr 1fr .8fr; } }
.footer-brand .logo-panel img { width: 134px; }
.footer-motto { margin-top: var(--space-4); font-family: var(--font-display); font-weight: 600; color: var(--surface-0); }
.footer-h { font-family: var(--font-display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-400); margin-bottom: var(--space-4); }
.footer-list { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.footer-legal { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,.16); font-size: 14px; line-height: 21px; color: rgba(255,255,255,.78); display: grid; gap: var(--space-2); }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); }
.footer-credit { margin-left: auto; padding-left: var(--space-4); border-left: 1px solid rgba(255,255,255,.24); }
.footer-credit a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-credit a:hover { color: var(--teal-400); text-decoration: underline; }

/* Mobile contact bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-2); padding: 10px var(--space-4) calc(10px + env(safe-area-inset-bottom)); background: var(--surface-0); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(25,43,83,.08); }
.mobile-bar .btn { min-height: 48px; }
@media (max-width: 719px) { body { padding-bottom: 72px; } }
@media (min-width: 720px) { .mobile-bar { display: none; } }

/* Analytics notice (only shown once an analytics ID is set) */
.mz-notice { position: fixed; z-index: 70; left: var(--space-4); right: var(--space-4); bottom: calc(80px + env(safe-area-inset-bottom)); max-width: 440px; background: var(--surface-0); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: var(--space-6); font-size: 16px; line-height: 24px; }
@media (min-width: 720px) { .mz-notice { bottom: var(--space-6); left: var(--space-6); } }
.mz-notice p { margin-bottom: var(--space-4); }
.mz-notice .mz-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
