:root {
  --tl-navy: #002a5f;
  --tl-navy-deep: #021b36;
  --tl-navy-mid: #0a416f;
  --tl-blue: #125a8d;
  --tl-yellow: #ffc400;
  --tl-yellow-soft: #fff3b8;
  --tl-bg: #f1f6fa;
  --tl-text: #163149;
  --tl-muted: #627589;
  --tl-border: #dbe5ee;
  --tl-success: #12805d;
  --tl-font-heading: 'Manrope', 'Inter', system-ui, sans-serif;
  --tl-font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tl-radius-sm: 12px;
  --tl-radius-md: 22px;
  --tl-radius-lg: 30px;
  --tl-container: 1200px;
  --tl-header-logo-offset: 2px;
  --ink: var(--tl-text);
  --green: var(--tl-navy);
  --lime: var(--tl-yellow);
  --cream: var(--tl-bg);
  --border: var(--tl-border);
  --muted: var(--tl-muted);
  --navy: var(--tl-navy);
  --gold: var(--tl-yellow);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font:
    16px/1.6 system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
}
a {
  color: var(--green);
}
header {
  max-width: 1280px;
  margin: auto;
  padding: 25px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 23px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1px;
}
.brand span:last-child {
  font-weight: 450;
}
.brandmark {
  background: var(--green);
  color: var(--lime);
  border-radius: 9px;
  padding: 6px 9px;
  font-size: 17px;
  letter-spacing: 0;
}
nav {
  display: flex;
  gap: 28px;
}
nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
main {
  max-width: 1280px;
  margin: auto;
}
.hero {
  margin: 24px 24px 0;
  padding: 65px 50px;
  background: var(--cream);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--green);
}
h1 {
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -2.8px;
  margin: 22px 0;
}
h1 em {
  font-style: normal;
  color: var(--green);
}
.hero p {
  max-width: 540px;
  font-size: 18px;
  color: var(--muted);
}
.button {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 13px 23px;
  border-radius: 8px;
  text-decoration: none;
  border: 0;
  font: 600 15px/1.5 system-ui;
  cursor: pointer;
}
.hero .button {
  margin-top: 14px;
}
.hero-meta {
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
}
.hero-meta span {
  padding: 0 10px;
}
.hero-art {
  position: relative;
  background: var(--green);
  border-radius: 14px;
  color: var(--lime);
  padding: 28px;
  overflow: hidden;
  min-height: 360px;
  background-image:
    linear-gradient(#ffffff0a 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0a 1px, transparent 1px);
  background-size: 24px 24px;
}
.ruler {
  border-top: 2px solid var(--lime);
  padding-top: 7px;
  word-spacing: 8px;
  font: 12px monospace;
}
.drawing {
  height: 180px;
  position: relative;
  display: grid;
  place-items: center;
}
.slab {
  width: 190px;
  height: 110px;
  border: 2px solid var(--lime);
  transform: skewY(-14deg);
  box-shadow: 12px 12px 0 #efba4333;
}
.dim {
  position: absolute;
  top: 10px;
  font: 12px monospace;
}
.dimension {
  position: absolute;
  right: 0;
  font: 12px monospace;
}
.art-note {
  border-top: 1px solid #ffffff40;
  padding-top: 22px;
}
.art-note span {
  display: block;
  font: 10px monospace;
  letter-spacing: 2px;
}
.art-note strong {
  display: block;
  margin-top: 12px;
  font-size: 26px;
  line-height: 1.25;
}
.intro,
.library,
.explanation,
.notice {
  padding: 42px 64px;
}
h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 14px 0 20px;
}
h3 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 13px 0;
}
.search {
  display: block;
  max-width: 600px;
  font-size: 13px;
  font-weight: 600;
}
.search input {
  display: block;
  margin-top: 8px;
  width: 100%;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
}
.section-heading p {
  max-width: 280px;
  color: var(--muted);
  font-size: 14px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  border: 1px solid var(--border);
  padding: 26px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 12px;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  background: #f8fafc;
}
.tool-card[hidden] {
  display: none;
}
.tool-icon {
  display: grid;
  place-items: center;
  background: var(--cream);
  width: 45px;
  height: 45px;
  border-radius: 10px;
  font-size: 24px;
  margin-bottom: 25px;
}
.tool-card .eyebrow {
  font-size: 9px;
}
.tool-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 25px;
}
.card-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.notice {
  background: var(--cream);
  margin: 35px 24px;
  border-radius: 16px;
}
.notice p {
  max-width: 800px;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--border);
  padding: 40px 64px;
  max-width: 1280px;
  margin: auto;
  font-size: 13px;
  color: var(--muted);
}
footer .brand {
  font-size: 18px;
}
.page-head {
  padding: 42px 64px 25px;
}
.breadcrumb {
  font-size: 13px;
}
.page-head > span:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
}
.page-head .eyebrow {
  margin-top: 30px;
}
.page-head h1 {
  font-size: 48px;
}
.page-head p {
  color: var(--muted);
  font-size: 18px;
}
.calculator {
  padding: 10px 64px 35px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: start;
}
.form-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
}
.form-panel h2,
.result-panel h2 {
  font-size: 23px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}
.fields label {
  font-size: 13px;
  font-weight: 600;
}
.input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #a9b8b0;
  border-radius: 7px;
  margin-top: 7px;
  background: white;
  overflow: hidden;
}
.input-wrap input {
  border: 0;
  min-width: 0;
  width: 100%;
  padding: 11px;
  font-size: 16px;
}
.input-wrap > span {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  padding: 0 9px;
  white-space: nowrap;
}
select,
.search input {
  padding: 12px;
  border: 1px solid #a9b8b0;
  border-radius: 7px;
  font: 16px system-ui;
}
select {
  width: 100%;
  margin-top: 7px;
}
.result-panel {
  padding: 30px;
  border-radius: 12px;
  background: var(--cream);
  position: sticky;
  top: 20px;
}
.result-row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}
.result-row span {
  font-size: 12px;
  color: var(--muted);
}
.result-row strong {
  font-size: 25px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.result-row.primary strong {
  font-size: 37px;
  color: var(--green);
}
.secondary {
  padding: 10px 15px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 7px;
  font: 600 13px system-ui;
  color: var(--green);
  cursor: pointer;
}
.secondary:disabled {
  opacity: 0.45;
  cursor: default;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#print {
  margin-top: 20px;
}
.small {
  font-size: 12px;
  color: var(--muted);
}
#error {
  color: #a32222;
  font-size: 14px;
}
.explanation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  border-top: 1px solid var(--border);
}
.explanation h2 {
  font-size: 24px;
}
.explanation p {
  color: var(--muted);
  font-size: 15px;
}
.example {
  background: var(--cream);
  border-left: 3px solid var(--green);
  padding: 18px;
  margin-top: 25px;
}
.example p {
  margin-bottom: 0;
}
details {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  font-size: 14px;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
.skip {
  position: absolute;
  left: 10px;
  top: -100px;
}
.skip:focus {
  top: 10px;
  background: white;
  z-index: 10;
  padding: 10px;
}
:focus-visible {
  outline: 3px solid #b78116;
  outline-offset: 3px;
}
@media (max-width: 850px) {
  header {
    padding: 20px;
    gap: 18px;
    flex-wrap: wrap;
  }
  nav {
    gap: 18px;
    flex-wrap: wrap;
  }
  .hero {
    padding: 35px;
    gap: 25px;
  }
  .hero-art {
    min-height: 320px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro,
  .library,
  .explanation,
  .page-head {
    padding: 32px;
  }
  .calculator {
    padding: 10px 32px 30px;
    grid-template-columns: 1fr;
  }
  .result-panel {
    position: static;
  }
  .explanation {
    gap: 30px;
  }
  h1 {
    letter-spacing: -1.5px;
  }
}
@media (max-width: 580px) {
  nav {
    gap: 15px;
  }
  nav a {
    font-size: 12px;
  }
  .hero {
    margin: 12px;
    padding: 28px;
    grid-template-columns: 1fr;
  }
  .hero-art {
    min-height: 300px;
  }
  .hero-meta {
    line-height: 2;
  }
  .cards,
  .fields,
  .explanation {
    grid-template-columns: 1fr;
  }
  .intro,
  .library,
  .page-head {
    padding: 28px 20px;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    max-width: none;
  }
  .calculator {
    padding: 0 14px 28px;
  }
  .form-panel,
  .result-panel {
    padding: 24px;
  }
  .page-head h1 {
    font-size: 38px;
  }
  .notice {
    padding: 28px;
    margin: 20px 12px;
  }
  footer {
    padding: 30px 20px;
  }
  .explanation {
    padding: 28px 20px;
  }
  .tool-card {
    padding: 24px;
  }
}
@media print {
  header,
  footer,
  .library,
  .breadcrumb,
  .actions,
  #print,
  details,
  .skip {
    display: none;
  }
  .calculator,
  .explanation {
    display: block;
    padding: 10px;
  }
  .page-head {
    padding: 10px;
  }
  .result-panel {
    position: static;
    margin: 20px 0;
  }
  .fields {
    grid-template-columns: 1fr 1fr;
  }
  .form-panel {
    break-inside: avoid;
  }
  body {
    font-size: 12px;
  }
  .page-head h1 {
    font-size: 28px;
  }
  input {
    color: black !important;
  }
}
.filter-row {
  display: flex;
  gap: 20px;
  align-items: end;
}
.filter-row .search {
  flex: 1;
}
.trade-filter {
  font-size: 13px;
  font-weight: 600;
  min-width: 220px;
}
.trade-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}
.trade-links a {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 12px;
  text-decoration: none;
}
.trade-links a:hover {
  background: var(--cream);
}
.trade-links span {
  background: var(--cream);
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 3px;
}
.review-date {
  font-size: 12px;
  color: var(--muted);
}
.source-list {
  padding-left: 18px;
  font-size: 13px;
}
.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.resource-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 15px;
}
.resource-card p {
  font-size: 14px;
  color: var(--muted);
}
.resource-card h3 {
  font-size: 20px;
}
.resource-card a {
  text-decoration: none;
}
.library[hidden] {
  display: none;
}
@media (max-width: 580px) {
  .filter-row {
    display: block;
  }
  .trade-filter {
    display: block;
    margin-top: 16px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  header nav {
    gap: 10px;
  }
  header nav a {
    font-size: 11px;
  }
}
@media print {
  .trade-links,
  .filter-row {
    display: none;
  }
}
.fields label[hidden] {
  display: none;
}

/* TradiesLocal Website Style Guidelines V2.0, supplied by the owner. */
.hero-art {
  background-color: var(--navy);
}
.hero .button {
  background: var(--gold);
  color: var(--navy);
}
.brandmark {
  background: var(--navy);
  color: var(--gold);
}
.ruler,
.slab {
  border-color: var(--gold);
}
.example {
  border-left-color: #c49123;
}
.trade-links a:hover {
  border-color: #c49123;
}
.trade-links span {
  background: #fff2ce;
  color: var(--navy);
}

body {
  font-family: var(--tl-font-ui);
  font-size: 16px;
  line-height: 1.6;
}
header,
main,
footer {
  max-width: var(--tl-container);
}
header {
  padding: 16px 24px;
  min-height: 84px;
}
.brand-logo {
  width: 184px;
  height: auto;
  display: block;
  transform: translateY(2px);
}
nav a {
  font-family: var(--tl-font-ui);
  font-weight: 400;
  font-size: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
nav a:hover,
nav a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--tl-yellow);
  text-underline-offset: 7px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--tl-font-heading);
  color: var(--tl-navy);
  letter-spacing: -1px;
}
h1 {
  font-weight: 700;
  font-size: clamp(38px, 4.5vw, 56px);
}
h2 {
  font-weight: 700;
}
h3 {
  font-weight: 600;
}
.hero {
  border-radius: 30px;
}
.hero-art {
  background-color: var(--tl-navy-deep);
}
.intro,
.library,
.explanation,
.page-head {
  padding-left: 32px;
  padding-right: 32px;
}
.tool-card,
.resource-card,
.form-panel,
.result-panel {
  border-radius: 22px;
}
.tool-card p,
.explanation p,
.page-head p {
  font-size: 16px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1px;
}
.tool-card .eyebrow {
  font-size: 12px;
}
.button,
.secondary {
  font-family: var(--tl-font-ui);
  font-weight: 500;
  border-radius: 12px;
  min-height: 48px;
}
.button,
.hero .button {
  background: var(--tl-yellow);
  color: var(--tl-navy);
}
.secondary {
  background: var(--tl-navy);
  color: white;
  border-color: var(--tl-navy);
}
input,
select {
  font: 400 16px var(--tl-font-ui);
  min-height: 50px;
  border-radius: 12px;
}
label {
  font-weight: 500;
}
a {
  color: var(--tl-blue);
}
.breadcrumb {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.trade-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
}
.trade-links span {
  background: var(--tl-yellow-soft);
}
.tool-card {
  color: var(--tl-text);
}
.tool-card h3 {
  font-size: 22px;
}
.card-link,
.small,
.review-date,
footer {
  font-size: 13px;
}
.tool-icon svg {
  width: 25px;
  height: 25px;
  stroke: var(--tl-navy);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.example {
  border-left-color: var(--tl-yellow);
}
:focus-visible {
  outline: 3px solid var(--tl-navy);
  outline-offset: 3px;
}
.result-panel {
  background: var(--tl-bg);
}
footer {
  background: var(--tl-navy-deep);
  color: #dbe5ee;
  border-radius: 30px 30px 0 0;
  padding: 48px 32px;
  margin-top: 48px;
}
footer a {
  color: white;
}
.footer-brand-mark {
  display: inline-flex;
  background: white;
  border-radius: 13px;
  padding: 10px 13px 9px;
}
.footer-brand-mark img {
  width: 170px;
  height: auto;
  display: block;
  filter: none;
}
.nav-toggle {
  display: none;
}
.source-list a {
  text-decoration: underline;
}
.explanation p {
  max-width: 75ch;
}
.fields label {
  font-size: 14px;
}
.fields label input[aria-invalid='true'] {
  border-color: #a4262c;
}
.muted,
.small {
  color: var(--tl-muted);
}
@media (max-width: 767px) {
  header {
    position: relative;
    min-height: 72px;
    padding: 12px 20px;
    justify-content: space-between;
  }
  .brand-logo {
    width: 145px;
  }
  .nav-toggle {
    display: block;
    border: 1px solid var(--tl-border);
    background: white;
    color: var(--tl-navy);
    border-radius: 12px;
    min-height: 44px;
    min-width: 64px;
    font: 500 14px var(--tl-font-ui);
  }
  header nav {
    display: none;
    flex-basis: 100%;
    gap: 0;
  }
  header nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  header nav a {
    font-size: 15px;
    padding: 8px 4px;
  }
  .cards,
  .explanation {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 28px 20px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .page-head h1 {
    font-size: 36px;
  }
  .intro,
  .library,
  .explanation,
  .page-head {
    padding: 40px 20px;
  }
  .tool-card p,
  .explanation p,
  .page-head p {
    font-size: 16px;
  }
  .button {
    width: 100%;
    text-align: center;
  }
  .actions {
    flex-wrap: wrap;
  }
  .actions .secondary {
    flex: 1;
  }
  .hero-art {
    min-height: 300px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 40px 20px;
  }
  .section-heading {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .tool-card {
    transition: none;
  }
  .tool-card:hover {
    transform: none;
  }
}
@media print {
  footer,
  .nav-toggle {
    display: none;
  }
  .button {
    width: auto;
  }
}
header {
  padding-top: 0;
  padding-bottom: 0;
}
header .brand-logo {
  position: relative;
  z-index: 2;
}
.result-panel .small,
.hero-meta {
  color: var(--tl-text);
}
@media (max-width: 767px) {
  header {
    padding-top: 4px;
    padding-bottom: 4px;
  }
}
#print-report {
  display: none;
}
@page {
  size: A4;
  margin: 16mm 16mm 18mm;
}
@media print {
  body:has(#print-report) > *:not(#print-report) {
    display: none !important;
  }
  #print-report {
    display: block !important;
    color: #163149;
    background: white;
    font-family: Inter, system-ui, sans-serif;
    font-size: 10pt;
    line-height: 1.45;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .report-letterhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 5mm;
    border-bottom: 3px solid #ffc400;
    margin-bottom: 6mm;
  }
  .report-letterhead img {
    width: 46mm;
    height: auto;
  }
  .report-brand-note {
    color: #002a5f;
    font-size: 10pt;
  }
  #print-report h1 {
    font-family: Manrope, Inter, sans-serif;
    color: #002a5f;
    font-size: 22pt;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 3mm;
  }
  #print-report h2 {
    font-family: Manrope, Inter, sans-serif;
    color: #002a5f;
    font-size: 12pt;
    margin: 6mm 0 3mm;
    break-after: avoid;
  }
  .report-date {
    font-size: 9pt;
    color: #627589;
    margin: 0 0 4mm;
  }
  #print-report table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10pt;
  }
  #print-report th {
    text-align: left;
    font-weight: 500;
    width: 66%;
  }
  #print-report td {
    text-align: right;
    overflow-wrap: anywhere;
  }
  #print-report td,
  #print-report th {
    padding: 2mm 3mm;
    border-bottom: 1px solid #dbe5ee;
  }
  #print-report tr {
    break-inside: avoid;
  }
  .report-primary {
    background: #fff3b8;
    color: #002a5f;
  }
  .report-primary td {
    font-weight: 700;
    font-size: 14pt;
  }
  .report-method,
  .report-assumptions {
    margin: 0 0 3mm;
    font-size: 9pt;
  }
  .report-footer {
    border-top: 2px solid #002a5f;
    padding-top: 4mm;
    margin-top: 8mm;
    break-inside: avoid;
  }
  .report-footer strong {
    color: #002a5f;
    display: block;
  }
  .report-footer span {
    display: block;
    font-size: 9pt;
  }
  .report-footer a {
    color: #125a8d;
    font-size: 9pt;
  }
  .report-disclaimer {
    font-size: 8pt;
    color: #627589;
    margin-top: 3mm;
  }
}
@media print {
  #print-report,
  #print-report * {
    print-color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
  }
  #print-report img {
    filter: none !important;
    opacity: 1 !important;
  }
  #print-report .report-primary th,
  #print-report .report-primary td {
    background-color: #fff3b8 !important;
    color: #002a5f !important;
  }
  #print-report .report-letterhead {
    border-bottom-color: #ffc400 !important;
  }
}

:root {
  --tl-navy: #062d58;
  --green: #062d58;
  --tl-yellow: #ffc400;
}
body {
  background: #fff;
}
a {
  text-decoration: none;
}
.tl-header {
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}
.tl-header nav {
  max-width: none;
}
.tl-header .tl-logo {
  max-height: none;
  object-fit: contain;
}
.tl-header .tl-brand {
  letter-spacing: normal;
}
main {
  max-width: 1200px;
  margin: auto;
}
.button,
.secondary {
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  border-radius: 11px;
}
.button {
  background: #ffc400;
  color: #021b36;
}
.secondary {
  color: #062d58;
}
.tool-card,
.resource-card,
.form-panel,
.result-panel {
  border-radius: 22px;
  border-color: #dbe5ee;
}
.tool-card h3 {
  color: #062d58;
}
.tool-card {
  box-shadow: 0 10px 28px rgba(2, 27, 54, 0.07);
}
footer {
  max-width: none;
  margin: 0;
  padding: 60px 0 25px;
  background: #021b36;
  color: #afc0d0;
  text-align: left;
  border-radius: 0;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, 1fr);
  gap: 38px;
  padding-bottom: 42px;
}
footer .footer-brand p {
  max-width: 310px;
  font-size: 0.87rem;
}
footer .footer-logo {
  display: inline-flex;
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 17px;
}
footer .footer-logo img {
  width: 183px;
  height: auto;
  max-height: none;
}
footer h3,
footer h4 {
  color: white;
  font-size: 0.88rem;
  margin-bottom: 15px;
}
footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  font-size: 0.82rem;
}
footer a {
  color: inherit;
}
footer a:hover {
  color: #ffc400;
}
footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 21px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.73rem;
}
footer .footer-abn {
  font-size: 0.74rem;
}
@media (max-width: 1000px) {
  footer .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }
  footer .footer-brand {
    grid-column: 1/-1;
  }
  footer .footer-bottom {
    flex-direction: column;
  }
}
@media print {
  .tl-header,
  body > footer {
    display: none !important;
  }
}

/* Master landing page appearance; override legacy calculator shell rules. */
body {
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: Manrope, Arial, sans-serif;
  color: #062d58;
}
.top-strip {
  background: #021b36;
  color: #c8d6e4;
  font-size: 0.78rem;
}
.top-strip .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.strip-note {
  display: flex;
  align-items: center;
  gap: 8px;
}
.strip-shield {
  color: #ffc400;
}
.strip-links {
  display: flex;
  gap: 18px;
}
.strip-links a {
  color: inherit;
}
.strip-links a:hover {
  color: #ffc400;
}
.tl-header {
  position: sticky !important;
  top: 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid #dbe5ee !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  display: block !important;
  flex-wrap: nowrap !important;
  border-radius: 0 !important;
}
.tl-header .tl-header-inner {
  min-height: 82px;
}
.tl-header .tl-nav a {
  text-decoration: none !important;
  letter-spacing: normal;
  font-weight: 400 !important;
}
.tl-header .tl-start {
  font-weight: 500 !important;
  line-height: 1.1;
}
.tl-header .tl-login {
  font-weight: 400 !important;
}
.tl-header .tl-logo {
  transform: translateY(2px) !important;
  max-height: none;
}
main > .hero {
  margin: 0;
  padding: 76px 40px 82px;
  border-radius: 0;
  background: linear-gradient(145deg, #f8fbfd 0%, #eef5fa 48%, #f8fbfd 100%);
  grid-template-columns: 1.08fr 0.92fr;
  gap: 62px;
  align-items: center;
}
main > .hero h1 {
  font-size: clamp(2.7rem, 5.5vw, 5.05rem);
  line-height: 0.99;
  letter-spacing: -0.06em;
  font-weight: 800;
  margin: 22px 0 23px;
}
main > .hero h1 em {
  color: #062d58;
  text-decoration: underline;
  text-decoration-color: #ffc400;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.02em;
}
main > .hero p {
  font-size: 1.12rem;
  color: #627589;
}
main > .hero .eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: #125a8d;
}
main > .hero .hero-art {
  border-radius: 30px;
  background-color: #062d58;
  box-shadow: 0 18px 50px rgba(2, 27, 54, 0.1);
}
.page-head {
  padding: 64px 32px 36px;
}
.page-head h1 {
  font-size: clamp(2.55rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}
.page-head p {
  color: #627589;
  font-size: 1.12rem;
  max-width: 760px;
}
.library h2,
.intro h2 {
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.eyebrow {
  color: #125a8d;
  font-weight: 600;
  letter-spacing: 0.11em;
}
.tool-card .eyebrow {
  font-size: 0.7rem;
}
.tool-card h3 {
  font-size: 1.22rem;
  line-height: 1.3;
  font-weight: 700;
}
.tool-icon {
  background: #fff3b8;
  border-radius: 14px;
}
.tool-card {
  padding: 26px;
  border-radius: 22px;
  background: white;
}
.card-link {
  font-weight: 500;
  color: #125a8d;
}
.button,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.91rem;
  font-weight: 500;
  line-height: 1.1;
  border-radius: 11px;
}
.button {
  background: #ffc400 !important;
  color: #021b36 !important;
  box-shadow: 0 10px 24px rgba(255, 196, 0, 0.2);
}
.secondary {
  background: #fff !important;
  color: #062d58 !important;
  border: 1px solid #dbe5ee !important;
}
.secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.result-panel {
  background: #f1f6fa;
}
.trade-links a {
  color: #52697c;
  border: 1px solid #dbe5ee;
  background: #fff;
}
.trade-links span {
  background: #fff3b8;
  color: #062d58;
}
.notice {
  border-radius: 22px;
  background: #f1f6fa;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #125a8d;
  outline-offset: 4px;
}
footer {
  margin-top: 0;
}
footer h3 {
  letter-spacing: normal;
  font-weight: 600;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1000;
  background: #ffc400;
  color: #021b36;
  padding: 10px 14px;
}
.skip:focus {
  left: 8px;
}
@media (max-width: 900px) {
  main > .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 24px;
  }
  .hero-art {
    max-width: 600px;
    width: 100%;
  }
  .calculator {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 520px) {
  .top-strip .container {
    gap: 10px;
    padding: 6px 0;
  }
  .strip-note {
    font-size: 0.65rem;
  }
  .strip-links {
    gap: 10px;
    font-size: 0.7rem;
  }
  .tl-header .tl-header-inner {
    min-height: 74px;
  }
  .page-head {
    padding: 40px 20px 24px;
  }
  .page-head h1 {
    font-size: 2.25rem;
  }
  .calculator {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
  }
  main > .hero h1 {
    font-size: 2.7rem;
  }
  .library h2,
  .intro h2 {
    font-size: 2rem;
  }
}
@media print {
  .top-strip,
  .tl-header {
    display: none !important;
  }
}
