/* Thrusters.com.au: shared styles. Page sections keep the design's inline styles;
   this file holds the base, shared chrome (header, footer, mobile bar), control
   states and the small-screen overrides inline styles can't express. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #06182A;
  color: #0B1C2C;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
main { display: block; background: #FFFFFF; }
main.bg-fog { background: #EDF2F5; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: #134064; }
a:hover { color: #06182A; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
details[open] > summary span[aria-hidden="true"] { transform: rotate(45deg); }
details > summary span[aria-hidden="true"] { display: inline-block; transition: transform .15s ease; }

:focus-visible { outline: 3px solid #FF7A33; outline-offset: 2px; border-radius: 4px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(19, 64, 100, 0.35); border-color: #134064 !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; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #FF7A33; color: #06182A; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Primary orange buttons get a gentle hover everywhere */
a[style*="background: #FF7A33"]:hover, button[style*="background: #FF7A33"]:hover { filter: brightness(1.07); color: #06182A; }

/* ---------- Top bar + header ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.topbar { background: #06182A; color: #A9BCCB; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 0.04em; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.topbar .group { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.topbar .accent { color: #8FDCCF; }
.topbar a { color: #FFFFFF; text-decoration: none; font-weight: 600; }

.site-header { background: #0B2740; color: #FFFFFF; border-bottom: 1px solid rgba(255,255,255,0.08); position: relative; }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: #FFFFFF; text-decoration: none; min-height: 44px; }
.brand:hover { color: #FFFFFF; }
.wordmark { font-size: 21px; font-weight: 800; font-stretch: 112%; letter-spacing: 0.02em; line-height: 1; white-space: nowrap; }
.wordmark span { font-weight: 500; color: #8FDCCF; letter-spacing: 0.01em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 15px; font-weight: 500; }
.site-nav a { color: #FFFFFF; text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: #8FDCCF; }
.site-nav a[aria-current="page"] { color: #8FDCCF; border-bottom-color: #8FDCCF; }
.header-call { display: inline-flex; align-items: center; gap: 10px; background: #FF7A33; color: #06182A; text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 999px; min-height: 44px; }
.header-call:hover { color: #06182A; filter: brightness(1.07); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #FFFFFF; align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 1080px) {
  .topbar .hide-sm { display: none; }
  .menu-btn { display: inline-flex; }
  .header-call { display: none; }
  .site-nav { display: none; width: 100%; flex-direction: column; gap: 0; padding: 4px 0 8px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .site-nav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,0.08); }
  .wordmark { font-size: 18px; }
}

/* ---------- Footer ---------- */
.site-footer { background: #041120; color: #A9BCCB; font-size: 15px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 40px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; }
.site-footer .about { flex: 1 1 320px; min-width: 0; max-width: 400px; }
.site-footer nav, .site-footer .contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer .label { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.12em; color: #8FDCCF; }
.site-footer a { color: #D5E1EA; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.site-footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 13px; color: #8397A8; }

/* ---------- Mobile call bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 84px; }
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(4, 17, 32, 0.97); border-top: 1px solid rgba(255,255,255,0.1); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 15px; }
  .mobile-bar .call { flex: 1 1 auto; background: #FF7A33; color: #06182A; font-weight: 800; font-size: 16px; }
  .mobile-bar .mail { flex: 0 0 52px; border: 1.5px solid rgba(255,255,255,0.35); color: #FFFFFF; }
  .mobile-bar .size { flex: 0 0 auto; padding: 0 16px; border: 1.5px solid #8FDCCF; color: #FFFFFF; }
}

/* ---------- Control states (replace the design's computed styles) ---------- */
.chip { font-family: inherit; font-size: 14px; font-weight: 600; padding: 10px 16px; min-height: 44px; border-radius: 999px; cursor: pointer; border: 1.5px solid rgba(255,255,255,0.3); background: transparent; color: #FFFFFF; }
.chip[aria-pressed="true"] { border-color: #FF7A33; background: #FF7A33; color: #06182A; }

.opt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; font-family: inherit; padding: 16px 18px; border-radius: 14px; cursor: pointer; min-height: 44px; background: #FFFFFF; color: #0B1C2C; border: 2px solid #D3DEE6; }
.opt:hover { border-color: #8AA3B5; }
.opt[aria-pressed="true"] { background: #EAF6F3; border-color: #134064; }
.opt-type { flex: 1 1 180px; gap: 6px; padding: 18px; color: #3F5262; }
.opt-type[aria-pressed="true"] { color: #0B2740; }
.badge { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 999px; background: #0B2740; color: #8FDCCF; }

.seg { font-family: inherit; font-weight: 700; font-size: 16px; padding: 10px 26px; min-height: 44px; border-radius: 999px; border: 0; cursor: pointer; background: transparent; color: #3F5262; }
.seg[aria-pressed="true"], .seg[aria-selected="true"] { background: #0B2740; color: #FFFFFF; }
.seg.small { font-size: 15px; padding: 10px 20px; }

.fam { display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-size: 14px; font-weight: 600; padding: 10px 16px; min-height: 44px; border-radius: 999px; cursor: pointer; border: 1.5px solid #D3DEE6; background: #F6F9FB; color: #6B7C8A; }
.fam .dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; background: transparent; }
.fam[aria-pressed="true"] { border-color: #0B2740; background: #FFFFFF; color: #0B1C2C; }
.fam[aria-pressed="true"] .dot { background: currentColor; }

.check-card { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1.5px solid #D3DEE6; border-radius: 12px; cursor: pointer; }
.check-card:has(input:checked) { border-color: #134064; background: #EAF6F3; }

.form-status { margin: 0; font-size: 14px; }
.form-status.error { color: #B42318; font-weight: 600; }
button[disabled] { opacity: 0.65; cursor: progress; }

/* ---------- Small screens: collapse the design's fixed 2 and 3 column grids ---------- */
@media (max-width: 640px) {
  [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"],
  [style*="grid-template-columns: repeat(3, minmax(0, 1fr))"] { grid-template-columns: minmax(0, 1fr) !important; }
  dl[style*="grid-template-columns: repeat(2, minmax(0, 1fr))"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  section > div[style*="padding: 112px 24px"], section > div[style*="padding: 96px 24px"] { padding-top: 64px !important; padding-bottom: 64px !important; }
  .wrap, section > div[style*="padding"] { padding-left: 16px !important; padding-right: 16px !important; }
}
