/* Adapted from the reference Christmas payment guide and canonical blog header. */

.aeo-native-subheading,
.aeo-toc-title {
  font-size: 1em;
  font-weight: 700;
  color: inherit;
  margin: 0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7fafc;
  color: #2d3748;
  font:
    16px/1.7 Inter,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
nav {
  background: var(--primary);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav-links a {
  color: #fff;
  font-size: 0.86rem;
}
.nav-cta {
  background: #fff;
  color: var(--primary) !important;
  padding: 8px 16px;
  border-radius: 8px;
}
.breadcrumb,
.layout {
  max-width: 1080px;
  margin: auto;
}
.breadcrumb {
  padding: 28px 24px 0;
  color: #718096;
  font-size: 0.84rem;
}
.layout {
  padding: 20px 24px 60px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 32px;
}
.toc {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
}
.toc strong {
  color: var(--primary);
}
.toc ol {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
}
.toc li {
  margin: 5px 0;
}
.toc a {
  font-size: 0.8rem;
  color: #4a5568;
}
.article {
  background: #fff;
  border-radius: 16px;
  padding: 38px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}
h1,
h2,
h3 {
  color: var(--primary);
  line-height: 1.25;
}
h1 {
  font-size: 2.25rem;
  margin: 0 0 14px;
}
h2 {
  font-size: 1.45rem;
  margin: 42px 0 14px;
  scroll-margin-top: 96px;
}
h3 {
  font-size: 1.08rem;
  margin: 26px 0 8px;
}
.meta {
  color: #718096;
  font-size: 0.84rem;
  margin-bottom: 18px;
}
.intro {
  font-size: 1.1rem;
  border-left: 4px solid var(--primary);
  padding-left: 16px;
}
.notice,
.action,
.warning {
  padding: 18px 20px;
  border-radius: 10px;
  margin: 20px 0;
}
.notice {
  background: var(--primary-tint);
  border-left: 4px solid var(--primary);
}
.action {
  background: var(--primary-tint);
  border-left: 4px solid var(--primary);
}
.warning {
  background: #fffaf0;
  border-left: 4px solid #dd6b20;
}
.urgent {
  background: #fff5f5;
  border-left: 4px solid #e53e3e;
  padding: 18px 20px;
  border-radius: 10px;
}
.steps li {
  margin-bottom: 10px;
}
.pathways {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}
.pathways th {
  background: var(--primary);
  color: #fff;
  text-align: left;
}
.pathways th,
.pathways td {
  padding: 12px;
  border: 1px solid #e2e8f0;
  vertical-align: top;
}
.related {
  border-top: 2px solid #e2e8f0;
  margin-top: 44px;
  padding-top: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.related-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
}
.related-card h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}
.related-card p {
  margin: 0;
  color: #718096;
  font-size: 0.84rem;
}
.sources li {
  margin-bottom: 8px;
}
.disclaimer {
  font-size: 0.83rem;
  color: #718096;
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
  margin-top: 30px;
}
footer {
  background: #1a202c;
  color: #cbd5e0;
  text-align: center;
  padding: 34px 20px;
  font-size: 0.84rem;
}
@media (max-width: 800px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
  }
  .article {
    padding: 26px;
  }
  h1 {
    font-size: 1.8rem;
  }
}
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .pathways {
    font-size: 0.86rem;
  }
}
/* mobile-toc-disclosure */
.toc-inline summary {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  list-style: none;
}
.toc-inline summary::-webkit-details-marker {
  display: none;
}
@media (max-width: 860px) {
  .toc-inline summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
  }
  .toc-inline summary::after {
    content: "Show";
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
  }
  .toc-inline[open] summary::after {
    content: "Hide";
  }
  .toc-inline:not([open]) ol {
    display: none;
  }
}

.aeo-native-subheading,
.aeo-toc-title {
  font-size: 1em;
  font-weight: 700;
  color: inherit;
  margin: 0;
}
.hero-image,
.section-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: cover;
  border-radius: 12px;
}
.hero-image {
  margin: 24px 0 28px;
}
.article-figure {
  margin: 24px 0 30px;
}
.article-figure figcaption {
  color: #718096;
  font-size: 0.78rem;
  line-height: 1.5;
  margin-top: 8px;
}

.aeo-native-subheading,
.aeo-toc-title {
  font-size: 1em;
  font-weight: 700;
  color: inherit;
  margin: 0;
}
.layout > *,
.article {
  min-width: 0;
}
.toc summary {
  color: var(--primary);
  font-weight: 700;
  list-style: none;
  pointer-events: none;
}
.toc summary::-webkit-details-marker {
  display: none;
}
@media (max-width: 800px) {
  .layout {
    padding: 16px 16px 48px;
    gap: 16px;
  }
  .toc {
    padding: 16px;
  }
  .toc summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    pointer-events: auto;
  }
  .toc summary::after {
    content: "Show";
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
  }
  .toc[open] summary::after {
    content: "Hide";
  }
  .toc:not([open]) ol {
    display: none;
  }
  .toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 2px;
  }
  .toc li {
    min-width: 0;
    margin: 2px 0;
  }
  .toc a {
    overflow-wrap: anywhere;
  }
  .article {
    width: 100%;
    padding: 22px 20px;
    overflow: hidden;
  }
  .article p,
  .article li,
  .article h1,
  .article h2,
  .article h3 {
    overflow-wrap: anywhere;
  }
}

.aeo-native-subheading,
.aeo-toc-title {
  font-size: 1em;
  font-weight: 700;
  color: inherit;
  margin: 0;
}
.answer-box {
  background: var(--primary-tint);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 18px 0 8px;
}
.answer-box .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.answer-box p {
  margin: 0;
  font-size: 1.05rem;
  color: #1a202c;
}
.dates td:first-child {
  white-space: nowrap;
  font-weight: 700;
}
/* key-dates table: stacked cards on phones (no sideways scroll) */
@media (max-width: 640px) {
  .article .dates,
  .article .dates tbody,
  .article .dates tr,
  .article .dates td {
    display: block;
    width: 100%;
  }
  .article .dates thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .article .dates tr {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin: 0 0 14px;
    overflow: hidden;
    background: #fff;
  }
  .article .dates td {
    border: 0;
    border-bottom: 1px solid var(--primary-tint);
    padding: 10px 14px;
    overflow-wrap: anywhere;
  }
  .article .dates td:last-child {
    border-bottom: 0;
  }
  .article .dates td:first-child {
    white-space: normal;
    font-size: 1.05rem;
  }
  .article .dates td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 2px;
  }
}
.faq h3 {
  margin-top: 22px;
}
.toc-sidebar-note {
  font-size: 0.8rem;
}
/* mobile/a11y audit fixes */
.meta,
.breadcrumb,
.article-figure figcaption,
.disclaimer,
.related-card p {
  color: #4a5568;
}
.meta,
.breadcrumb,
.article-figure figcaption,
.disclaimer {
  font-size: 0.875rem;
}
.article > header {
  padding: 0;
}
footer a {
  color: #90cdf4;
}
.toc summary {
  min-height: 44px;
  display: flex;
  align-items: center;
}
/* final audit: card-table colours (site-controls.js also styles tables at <=800px) + touch targets */
.article .dates td:first-child {
  background: var(--primary-tint) !important;
  color: var(--primary) !important;
}
.article .dates td::before {
  color: #2d3748 !important;
}
.toc a {
  font-size: 0.875rem;
}
@media (max-width: 800px) {
  .breadcrumb a,
  .sources a,
  .dates td a,
  .toc a {
    display: inline-block;
    padding: 12px 4px;
    line-height: 20px;
  }
  .sources a,
  .dates td a,
  .toc a {
    padding: 12px 0;
  }
  .breadcrumb a {
    min-width: 44px;
    text-align: center;
  }
  .sources li {
    margin-bottom: 0;
  }
  footer a {
    display: inline-block;
    padding: 12px 10px;
  }
  .site-burger,
  .site-mobile-lang,
  .site-mobile-close {
    min-width: 44px !important;
    min-height: 44px !important;
  }
}
@media (max-width: 640px) {
  .article .pathways,
  .article .pathways td,
  .article .pathways a {
    font-size: 1rem;
  }
}
/* standard-toc-layout */
.toc-inline {
  display: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
}
.toc a.active {
  color: var(--primary);
  font-weight: 700;
}
@media (max-width: 800px) {
  .toc-sidebar {
    display: none;
  }
  .toc-inline {
    display: block;
  }
}
@media (max-width: 640px) {
  .layout {
    padding-left: 24px;
    padding-right: 24px;
  }
  .article div[style*="overflow-x"] {
    max-width: 100%;
  }
}

.toc .aeo-toc-title {
  margin: 1.33em 0;
}
@media (max-width: 800px) {
  article > header:not(.site-nav) h1 {
    font-size: 1.8rem !important;
  }
}

/* Canonical blog article header. Keep in sync with scripts/sync-blog-headers.mjs. */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--primary);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links > .nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

.nav-links > .nav-link:hover {
  color: white;
  text-decoration: none;
}

.nav-links > .nav-cta {
  background: white;
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav-links > .nav-cta:hover {
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-links > .nav-link {
    display: none;
  }
}
body {
  padding-top: 76px;
  color: var(--text);
}
a {
  color: var(--primary);
}
h1,
h2,
h3 {
  color: var(--primary);
}
nav {
  background: var(--primary);
}
.nav-logo svg {
  width: 210px;
  height: 44px;
  display: block;
}
.nav-links > .nav-link {
  color: white;
}
.nav-links > .nav-cta,
.hero-cta,
.badge {
  background: var(--gold);
  color: var(--text);
}
a:hover {
  color: var(--primary-dark);
}
nav a:hover,
footer a:hover {
  color: white;
}
.toc {
  background: var(--primary-tint);
}
.toc a {
  display: block;
  border-left: 3px solid transparent;
  padding: 5px 10px;
}
.toc a.active {
  border-left-color: var(--gold);
  color: var(--primary);
  background: white;
}
.toc-sidebar {
  align-self: stretch;
}
.answer-box {
  background: var(--primary-tint);
  border-color: var(--gold);
}
.answer-box .label {
  color: var(--primary);
}
.intro {
  border-color: var(--gold);
}
.action,
.tip {
  background: var(--primary-tint);
  border-left: 4px solid var(--gold);
  padding: 18px 20px;
  border-radius: 10px;
  margin: 20px 0;
}
.pathways th {
  background: var(--primary);
}
.pathways tr:nth-child(even) {
  background: var(--primary-tint);
}
.article .dates td:first-child {
  background: var(--primary-tint) !important;
  color: var(--primary) !important;
}
footer {
  background: var(--primary-dark);
}
footer p,
footer a {
  color: white;
}
footer a {
  display: inline-block;
  padding: 8px;
}
figure {
  margin: 24px 0;
}
.article-figure figcaption {
  color: #4a5568;
}
.hero-image {
  margin-bottom: 8px;
}
img {
  max-width: 100%;
}
.ad-slot {
  display: none;
}
.site-burger {
  display: none;
  background: transparent;
  border: 1px solid white;
  color: white;
  border-radius: 6px;
  font-size: 24px;
  min-width: 44px;
  min-height: 44px;
}
button {
  cursor: pointer;
  font: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  background: var(--gold);
  padding: 12px;
  z-index: 200;
}
.skip-link:focus {
  top: 12px;
}
dialog {
  border: 0;
  border-radius: 12px;
  padding: 28px;
  width: min(90vw, 380px);
}
dialog::backdrop {
  background: #0009;
}
dialog a {
  display: block;
  padding: 12px;
}
.hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 100px 24px;
  text-align: center;
}
.hero-content {
  max-width: 720px;
  margin: auto;
}
.hero h1 {
  font-size: 3rem;
  color: white;
  line-height: 1.1;
}
.hero p {
  color: white;
  font-size: 1.15rem;
}
.hero-cta {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 12px;
}
.hero-cta:hover {
  background: var(--gold);
  color: var(--text);
}
.hero-badge {
  color: var(--gold);
  font-weight: 700;
}
.container {
  max-width: 1080px;
  margin: auto;
  padding: 40px 24px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.related-card {
  display: block;
  background: white;
}
.related-card img {
  width: 100%;
  aspect-ratio: 2;
  object-fit: cover;
  border-radius: 6px;
}
.highlight {
  background: var(--primary-tint);
  padding: 32px;
  border-radius: 16px;
  margin: 32px 0;
}
.trust {
  max-width: 850px;
  margin: 32px auto;
  padding: 38px;
  background: white;
  border-radius: 16px;
}
.table-wrap {
  overflow: auto;
}
.site-mobile-menu a {
  color: var(--primary);
}
@media (max-width: 900px) {
  .site-burger {
    display: block;
  }
  .nav-links {
    display: none;
  }
  nav {
    padding: 12px 20px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .toc-inline {
    display: block;
  }
  .article {
    overflow: visible;
  }
  .trust {
    margin: 24px;
    padding: 24px;
  }
  .hero {
    padding: 64px 24px;
  }
}
@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .pathways:not(.dates) {
    display: block;
    overflow-x: auto;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Mobile drawer dimensions and header adapted from reference site-controls.js. */
.site-mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  margin: 0;
  width: 75%;
  max-width: 320px;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--primary-dark);
  color: white;
  border-radius: 0;
  padding: 0;
  overflow-y: auto;
}
.site-mobile-menu[open] {
  display: flex;
  flex-direction: column;
}
.site-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px;
  border-bottom: 1px solid #ffffff40;
}
.site-mobile-menu .nav-logo svg {
  width: 190px;
}
.site-mobile-close {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  min-width: 44px;
  min-height: 44px;
}
.site-mobile-menu > .nav-link {
  display: block;
  padding: 16px 24px;
  color: white;
  font-size: 1.05rem;
  border-bottom: 1px solid #ffffff40;
}
.site-mobile-menu > .nav-link:hover {
  background: var(--primary);
}
@media (max-width: 900px) {
  nav {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    padding: 10px 12px;
  }
  .site-burger {
    grid-column: 1;
    grid-row: 1;
    border: 0;
  }
  .nav-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }
}
/* Homepage and category layouts follow the SettleAU section rhythm. */
.country-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  color: white;
  font-size: 0.78rem;
  border: 1px solid #ffffff50;
  padding: 6px 9px;
  border-radius: 7px;
}
.country-chip svg {
  width: 24px;
  height: 16px;
}
.nav-links .nav-cta {
  background: white;
  color: var(--primary);
  min-height: 44px;
  display: flex;
  align-items: center;
}
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 20px #0002;
}
.hero-badge,
.badge {
  display: inline-block;
  border: 1px solid #ffffff40;
  background: #ffffff18;
  color: white;
  padding: 6px 16px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.home-hero {
  padding: 100px 24px 80px;
  background: linear-gradient(
    125deg,
    var(--primary-dark),
    var(--primary),
    #175db6
  );
}
.hero h1 {
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.hero h1 span {
  color: var(--gold);
}
.hero p {
  margin: 0 auto 32px;
  max-width: 600px;
  color: #e3ebff;
}
.hero-sub {
  color: white;
  font-size: 0.85rem;
  margin-top: 14px;
}
.home-photo {
  max-width: 900px;
  margin: 32px auto 0;
}
.home-photo figure {
  margin: 0;
}
.home-photo img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 28px #0003;
}
.home-photo figcaption {
  color: white;
  font-size: 0.72rem;
  margin-top: 6px;
}
.home-photo figcaption a {
  color: white;
  text-decoration: underline;
}
.start-section {
  background: white;
  padding: 32px 24px;
}
.start-inner {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 28px;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.start-inner h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 6px 0;
}
.start-inner p {
  font-size: 0.9rem;
  color: #4a5568;
  margin: 0;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.quick-grid a {
  border: 1px solid #dbe7f3;
  background: #f8fbff;
  border-radius: 8px;
  padding: 12px 14px;
}
.quick-grid strong,
.quick-grid span {
  display: block;
}
.quick-grid strong {
  font-size: 0.92rem;
}
.quick-grid span {
  font-size: 0.78rem;
  line-height: 1.4;
  color: #4a5568;
  font-weight: 400;
  margin-top: 4px;
}
.home-section {
  padding: 80px 24px;
  background: white;
}
.tinted {
  background: #f0f4f8;
}
.section-inner {
  max-width: 1000px;
  margin: auto;
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.3;
}
.section-title p {
  color: #4a5568;
  max-width: 580px;
  margin: auto;
}
.topic-card {
  display: block;
  padding: 32px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 8px #0001;
}
.topic-card h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}
.topic-card p {
  font-size: 0.9rem;
  font-weight: 400;
  color: #4a5568;
  margin: 0 0 12px;
}
.topic-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--primary-tint);
}
.topic-icon svg {
  width: 26px;
  height: 26px;
}
.pillar-meta {
  font-size: 0.8rem;
}
.related-card {
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f7fafc;
}
.related-card h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}
.related-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #4a5568;
  font-weight: 400;
  margin: 0;
}
.tool-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: #e8eefa;
  color: #003399;
}
.tag-payments {
  background: #fff5d6;
  color: #795200;
}
.tag-settling-in {
  background: #f3ebff;
  color: #5b3b9f;
}
.tag-health {
  background: #e9f9ee;
  color: #24633b;
}
.tag-calendar {
  background: #ffecef;
  color: #a52540;
}
.stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  background: white;
  padding: 40px 24px;
  border-bottom: 1px solid #e2e8f0;
}
.stats div {
  text-align: center;
}
.stats strong,
.stats span {
  display: block;
}
.stats strong {
  font-size: 2rem;
  color: var(--primary);
}
.stats span {
  font-size: 0.8rem;
  color: #4a5568;
}
.cta-band {
  text-align: center;
  background: var(--primary-dark);
  padding: 80px 24px;
  color: white;
}
.cta-band h2 {
  color: white;
  font-size: 2rem;
  line-height: 1.3;
  margin: 0 0 16px;
}
.cta-band p {
  max-width: 550px;
  margin: 0 auto 28px;
  color: #e3ebff;
}
.guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.guide-list a {
  padding: 20px;
  background: white;
  border-radius: 10px;
  border-left: 3px solid var(--primary);
  box-shadow: 0 2px 8px #0001;
}
.guide-list h3 {
  font-size: 0.9rem;
  margin: 0 0 5px;
}
.guide-list p {
  font-size: 0.8rem;
  color: #4a5568;
  font-weight: 400;
  margin: 0;
}
.guide-list .tool-tag {
  margin-bottom: 6px;
}
.see-all {
  display: block;
  text-align: center;
  padding: 20px;
  min-height: 44px;
}
.footer-columns {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 32px;
  padding: 60px 24px 40px;
}
.footer-columns h2 {
  color: white;
  font-size: 0.95rem;
  margin: 0 0 12px;
}
.footer-columns p {
  font-size: 0.85rem;
  font-weight: 400;
  color: #e3ebff;
}
.footer-columns .nav-link {
  display: block;
  font-size: 0.8rem;
  padding: 10px 0;
  min-height: 44px;
}
.footer-columns .nav-logo {
  padding: 0;
}
.footer-bottom {
  border-top: 1px solid #ffffff30;
  max-width: 1052px;
  margin: auto;
  padding: 24px;
  font-size: 0.75rem;
}
.hub-hero {
  padding: 64px 24px;
  background: linear-gradient(125deg, var(--primary-dark), var(--primary));
  color: white;
}
.hub-hero h1 {
  font-size: 2.7rem;
  color: white;
  margin: 0 0 16px;
  line-height: 1.2;
}
.hub-hero p {
  max-width: 650px;
  margin: 0;
}
.hub-breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 28px;
}
.container > h2,
#health-cards {
  margin-top: 48px;
}
.payment-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 0.9rem;
}
.payment-table td,
.payment-table th {
  padding: 16px;
  text-align: left;
  border: 1px solid #dbe3ef;
  vertical-align: top;
}
.payment-table thead {
  background: var(--primary);
  color: white;
}
.payment-table tbody th {
  min-width: 180px;
}
.payment-summary {
  margin-bottom: 40px;
}
.related-card:hover,
.topic-card:hover,
.guide-list a:hover {
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow: 0 8px 20px #0001;
}
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}
@media (max-width: 900px) {
  .country-chip {
    display: none;
  }
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-photo img {
    height: 300px;
  }
}
@media (max-width: 640px) {
  .home-hero {
    padding: 64px 24px 48px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .home-photo img {
    height: 210px;
  }
  .home-section {
    padding: 48px 24px;
  }
  .section-title {
    margin-bottom: 28px;
  }
  .section-title h2,
  .cta-band h2 {
    font-size: 1.6rem;
  }
  .start-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .quick-grid {
    grid-template-columns: 1fr;
  }
  .topic-card {
    padding: 24px;
  }
  .guide-list {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .cta-band {
    padding: 48px 24px;
  }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hub-hero h1 {
    font-size: 2rem;
  }
  .hub-hero {
    padding: 48px 24px;
  }
  .payment-table thead {
    display: none;
  }
  .payment-table,
  .payment-table tbody,
  .payment-table tr,
  .payment-table th,
  .payment-table td {
    display: block;
    width: 100%;
  }
  .payment-table tr {
    margin-bottom: 16px;
  }
  .payment-table tbody th {
    background: var(--primary-tint);
  }
  .payment-table td {
    border-top: 0;
  }
  .hero-cta {
    padding: 16px 24px;
  }
}
@media (max-width: 640px) {
  .article .stacked-table,
  .article .stacked-table tbody,
  .article .stacked-table tr,
  .article .stacked-table td,
  .article .stacked-table tbody th {
    display: block;
    width: 100%;
  }
  .article .stacked-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .article .stacked-table tr {
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    background: white;
  }
  .article .stacked-table td,
  .article .stacked-table tbody th {
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #dbe3ef;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .article .stacked-table tr > :first-child {
    background: var(--primary-tint);
    color: var(--primary);
    font-weight: 700;
  }
  .article .stacked-table tr > :not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
  }
}
footer {
  text-align: left;
  padding: 0;
}

/* Calculator cards: SettleAU form/result pattern in EU blue and gold. */
.tool{margin:28px 0;padding:24px;border:1px solid #dbe3ee;border-radius:14px;background:#f8fafc;box-shadow:0 2px 12px #0033990a}
.tool h2{margin:0 0 10px;font-size:1.4rem}.tool label{display:block;font-size:.9rem;font-weight:600;margin-bottom:18px}.tool input,.tool select{display:block;width:100%;min-width:0;margin-top:6px;padding:12px;border:2px solid #dbe3ee;border-radius:8px;font:inherit;background:white;color:#182b49}.tool input:focus,.tool select:focus{outline:3px solid #ffcc0066;border-color:#003399}.tool small{display:block;font-weight:400;margin-top:5px}.pay-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.tool button{padding:13px 20px;background:#003399;color:white;border:0;border-radius:8px;font:inherit;font-weight:700;cursor:pointer}.tool button:hover{background:#00266f}.tool button:focus-visible{outline:3px solid #d9aa00;outline-offset:3px}.tool [hidden]{display:none}.pay-error{color:#9d2020}.pay-error:empty{display:none}.pay-results{margin-top:24px;padding:22px;background:#003399;color:white;border-radius:12px;border-top:5px solid #ffcc00}.pay-result-label{font-size:.85rem;margin:0}.pay-net{font-size:2.1rem;font-weight:800;line-height:1.2;margin:12px 0}.pay-net span{display:block;font-size:.85rem;font-weight:400;margin-top:5px}.pay-averages{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pay-averages p{font-size:.78rem}.pay-averages strong{display:block;font-size:1.15rem;color:#ffdf5c}.pay-breakdown{width:100%;border-collapse:collapse;font-size:.8rem}.pay-breakdown caption{text-align:left;font-weight:700;margin-bottom:10px}.pay-breakdown th,.pay-breakdown td{padding:10px 0;border-bottom:1px solid #ffffff40;text-align:left}.pay-breakdown td{text-align:right;white-space:nowrap;padding-left:10px}.pay-breakdown tbody th{font-weight:400}.pay-breakdown tr:last-child th,.pay-breakdown tr:last-child td{font-weight:700}.pay-assumptions{font-size:.8rem;line-height:1.6;color:#46556d;margin-bottom:0}@media(max-width:540px){.tool{padding:16px}.pay-fields{grid-template-columns:1fr;gap:0}.pay-results{padding:16px}.pay-net{font-size:1.8rem}.pay-averages{grid-template-columns:1fr;gap:0}.pay-averages p{margin:8px 0}.tool button{width:100%}}

/* ==========================================================================
   Design pass (see /workspace/settleeur/design-spec.md).
   Final layer: refines tokens and components without changing markup.
   ========================================================================== */
:root {
  --ink: var(--text);
  --muted: #4a5568;
  --line: #dbe3ef;
  --line-strong: #c3d0ea;
  --surface: #ffffff;
  --page: #f6f8fc;
  --gold-soft: #fff8db;
  --tip-bg: #edf8f1;
  --tip-line: #2f855a;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-1: 0 1px 2px rgba(0, 34, 102, 0.06), 0 2px 8px rgba(0, 34, 102, 0.05);
  --shadow-2: 0 2px 4px rgba(0, 34, 102, 0.06), 0 12px 28px rgba(0, 34, 102, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 76px;
}
body {
  background: var(--page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Type scale (1.25 minor third, 16px base) ---- */
h1, h2, h3 { color: var(--primary); text-wrap: balance; }
h1 { font-size: 2.375rem; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.article h1 { margin: 0 0 12px; }
h2 { font-size: 1.5rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; margin: 48px 0 16px; }
h3 { font-size: 1.125rem; line-height: 1.35; font-weight: 700; margin: 28px 0 8px; }
/* :where() keeps these at element specificity so components (calculator, cards) win. */
:where(.article) p { margin: 0 0 16px; }
:where(.article) :where(ul, ol):not(#tocNav) { padding-left: 1.4em; margin: 0 0 16px; }
:where(.article) li { margin-bottom: 6px; }
:where(.article) li::marker { color: var(--primary); }
h2, h3, [id] { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* ---- Links ---- */
.article a:not(.related-card) {
  text-decoration: underline;
  text-decoration-color: rgba(0, 51, 153, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article a:not(.related-card):hover {
  color: var(--primary-dark);
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}
.article .toc a, .article .toc-inline a { text-decoration: none; }

/* ---- Focus: gold ring with a dark inner halo, visible on light and dark ---- */
:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
.tool input:focus,
.tool select:focus {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--primary-dark);
  border-radius: 4px;
}
.tool input:focus, .tool select:focus { border-radius: 8px; border-color: var(--primary); }

/* ---- Navigation ---- */
nav { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 18px rgba(0, 17, 51, 0.22); }
.nav-logo { display: inline-flex; align-items: center; min-height: 44px; border-radius: 6px; }
.nav-logo svg { width: 161px; height: 44px; }
.nav-links { gap: 6px; }
.nav-links > .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  border-radius: 6px;
}
.nav-links > .nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.nav-links > .nav-link:hover { text-decoration: none; color: #fff; }
.nav-links > .nav-link:hover::after { transform: scaleX(1); }
.nav-links > .nav-cta { margin-left: 10px; padding: 0 18px; border-radius: var(--radius-sm); transition: background 0.15s; }
.nav-links > .nav-cta:hover { background: var(--gold); color: var(--ink) !important; }
.country-chip { margin-left: 6px; min-height: 36px; border-color: rgba(255, 255, 255, 0.35); }

/* ---- Mobile drawer ---- */
.site-burger { border-radius: var(--radius-sm); font-size: 26px; line-height: 1; }
.site-burger:hover { background: rgba(255, 255, 255, 0.12); }
.site-mobile-menu {
  background: linear-gradient(180deg, var(--primary-dark), #001a4d);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.35);
}
.site-mobile-menu[open] { animation: drawer-in 0.22s var(--ease); }
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
.site-mobile-menu::backdrop { background: rgba(0, 17, 51, 0.6); backdrop-filter: blur(2px); }
.site-mobile-menu-header { padding: 12px 12px 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.site-mobile-menu .nav-logo svg { width: 146px; height: 40px; }
.site-mobile-close { border-radius: var(--radius-sm); }
.site-mobile-close:hover { background: rgba(255, 255, 255, 0.12); }
.site-mobile-menu > .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 20px 0 24px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid transparent;
}
.site-mobile-menu > .nav-link::after { content: "›"; font-size: 1.4rem; color: var(--gold); opacity: 0.8; }
.site-mobile-menu > .nav-link:hover,
.site-mobile-menu > .nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--gold);
  text-decoration: none;
  color: #fff;
}
.site-mobile-menu > .nav-link:focus-visible { outline-offset: -3px; box-shadow: none; }

/* ---- Hero ---- */
.home-hero { position: relative; overflow: hidden; }
.home-hero > * { position: relative; }
.hero h1 { text-wrap: balance; }
.hero-cta {
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.hero-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); text-decoration: none; }
.home-photo img {
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 28px 56px -16px rgba(0, 10, 40, 0.6);
}
.home-photo .article-figure figcaption { color: #d6e0f7; margin-top: 10px; }
.hub-hero { position: relative; border-bottom: 4px solid var(--gold); }
.hub-hero h1 { letter-spacing: -0.02em; font-weight: 800; }
.hub-hero p { color: #e3ebff; font-size: 1.075rem; }

/* ---- Article shell ---- */
.breadcrumb { padding-top: 24px; }
.breadcrumb a { text-decoration: none; }
.article { padding: 40px 44px; border-radius: var(--radius-lg); box-shadow: var(--shadow-1); border: 1px solid #e6ecf5; }
.meta { color: var(--muted); margin-bottom: 20px; }
.hero-image, .section-image { border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(0, 34, 102, 0.08); }
.article-figure figcaption { color: var(--muted); }
.intro {
  font-size: 1.125rem;
  line-height: 1.65;
  border-left: 4px solid var(--gold);
  padding: 2px 0 2px 20px;
  margin: 24px 0;
}
.intro p:last-child { margin-bottom: 0; }

/* ---- Answer box ---- */
.answer-box {
  position: relative;
  background: var(--primary-tint);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px 22px;
  margin: 24px 0;
  box-shadow: 0 2px 0 rgba(255, 204, 0, 0.25);
}
.answer-box .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.answer-box .label::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-5 -5 10 10'%3E%3Cpath d='M0-5L1.18-1.62 4.76-1.55 1.9.62 2.94 4.05 0 2 -2.94 4.05-1.9.62-4.76-1.55-1.18-1.62Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-5 -5 10 10'%3E%3Cpath d='M0-5L1.18-1.62 4.76-1.55 1.9.62 2.94 4.05 0 2 -2.94 4.05-1.9.62-4.76-1.55-1.18-1.62Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.article .answer-box p, .answer-box p { font-size: 1.0625rem; line-height: 1.65; color: var(--ink); margin: 0; }
.article .answer-box p + p { margin-top: 10px; }

/* ---- Callouts: notice = information, action = do this, tip = helpful extra ---- */
.notice, .action, .tip, .warning, .urgent {
  margin: 24px 0;
  padding: 16px 20px 16px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  border-left: 4px solid;
}
.notice { background: var(--primary-tint); border-left-color: var(--primary); }
.action { background: var(--gold-soft); border-left-color: var(--gold); }
.tip { background: var(--tip-bg); border-left-color: var(--tip-line); }
.notice > :last-child, .action > :last-child, .tip > :last-child { margin-bottom: 0; }

/* ---- Tables ---- */
.table-wrap { border-radius: var(--radius); }
@media (min-width: 641px) {
  .article .pathways,
  .pathways {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 20px 0 24px;
    font-size: 0.95rem;
    background: #fff;
  }
  .pathways th, .pathways td { border: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .pathways th + th, .pathways td + td { border-left: 1px solid #e8edf6; }
  .pathways thead th {
    background: var(--primary);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-bottom: 3px solid var(--gold);
  }
  .pathways tbody tr:last-child > * { border-bottom: 0; }
  .pathways tbody tr:nth-child(even) { background: #f3f6fc; }
  .pathways tbody tr:hover { background: var(--primary-tint); }
  .article .dates td:first-child,
  .article .pathways td:first-child {
    background: transparent !important;
    color: var(--primary) !important;
    font-weight: 700;
  }
  .payment-table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .payment-table td, .payment-table th { border: 0; border-bottom: 1px solid var(--line); }
  .payment-table thead th { border-bottom: 3px solid var(--gold); font-size: 0.8125rem; letter-spacing: 0.02em; }
  .payment-table tbody tr:last-child > * { border-bottom: 0; }
  .payment-table tbody tr:nth-child(even) { background: #f3f6fc; }
  .payment-table tbody th { border-right: 1px solid #e8edf6; }
}
@media (max-width: 640px) { .article .stacked-table tr { border-color: var(--line); box-shadow: var(--shadow-1); } }

/* ---- Table of contents ---- */
.toc {
  background: var(--primary-tint);
  border: 1px solid #d6e0f3;
  border-radius: var(--radius);
  padding: 20px 14px 16px;
}
.toc .aeo-toc-title { margin: 0 0 4px 10px; color: var(--primary); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; }
.toc summary { min-height: 32px; }
.toc ol { padding-top: 4px; }
.toc li { margin: 2px 0; }
.toc a {
  display: block;
  padding: 7px 10px 7px 12px;
  border-left: 3px solid transparent;
  border-radius: 0 6px 6px 0;
  color: #3a4659;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.toc a:hover { background: rgba(255, 255, 255, 0.7); color: var(--primary); text-decoration: none; }
.toc a.active {
  border-left: 3px solid var(--gold);
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 34, 102, 0.08);
}
.toc-inline { background: var(--primary-tint); border-color: #d6e0f3; }
.toc-inline summary { min-height: 44px; }

/* ---- Cards ---- */
.topic-card, .related-card, .guide-list a, .quick-grid a {
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s;
}
.topic-card { border: 1px solid #e6ecf5; box-shadow: var(--shadow-1); border-radius: var(--radius-lg); }
.related-card { background: #fff; border: 1px solid var(--line); box-shadow: none; }
.quick-grid a { background: #fff; border-color: var(--line); border-radius: var(--radius-sm); }
.guide-list a { border: 1px solid #e6ecf5; border-left: 3px solid var(--primary); box-shadow: var(--shadow-1); }
.related-card:hover, .topic-card:hover, .guide-list a:hover, .quick-grid a:hover,
.related-card:focus-visible, .topic-card:focus-visible, .guide-list a:focus-visible, .quick-grid a:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-strong);
  text-decoration: none;
}
.guide-list a:hover { border-left-color: var(--gold); }
.topic-card:hover .pillar-meta, .topic-card:focus-visible .pillar-meta { text-decoration: underline; text-underline-offset: 3px; }
.topic-card h3, .related-card h3, .guide-list h3 { text-wrap: balance; }
.section-title h2 { letter-spacing: -0.015em; }
.eyebrow { letter-spacing: 0.1em; }

/* ---- Footer ---- */
footer { background: var(--primary-dark); border-top: 4px solid var(--gold); }
.footer-columns h2 {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-columns p { color: #c8d4f0; line-height: 1.6; max-width: 30ch; }
.footer-columns .nav-link { color: #fff; font-weight: 500; font-size: 0.875rem; display: flex; align-items: center; }
.footer-columns .nav-link:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.footer-columns .nav-logo svg { width: 161px; height: 44px; }
.footer-bottom { color: #c8d4f0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; }
.footer-bottom p { margin: 0; color: #c8d4f0; }

/* ---- Calculator ---- */
.tool { border-color: var(--line); border-radius: var(--radius-lg); background: #f8fafd; }
.tool button { min-height: 48px; border-radius: var(--radius-sm); transition: background 0.15s; }
.tool input, .tool select { min-height: 48px; border-color: var(--line-strong); }
.pay-results { border-radius: var(--radius); box-shadow: var(--shadow-2); }
.pay-breakdown thead th:last-child { text-align: right; }
.pay-breakdown thead th { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: #d6e0f7; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  body { padding-top: var(--nav-h); }
  nav { min-height: var(--nav-h); }
  .nav-logo svg { width: 146px; height: 40px; }
}
@media (max-width: 800px) {
  .article { padding: 24px 20px; }
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.3125rem; margin-top: 40px; }
  .toc a { padding: 12px 10px 12px 12px; }
}
@media (max-width: 640px) {
  .layout { padding-left: 12px; padding-right: 12px; }
  .breadcrumb { padding-left: 16px; padding-right: 16px; }
  .notice, .action, .tip { padding: 14px 16px; }
  .answer-box { padding: 16px 18px 18px; }
  .intro { font-size: 1.0625rem; padding-left: 16px; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-mobile-menu[open] { animation: none; }
  .related-card:hover, .topic-card:hover, .guide-list a:hover, .quick-grid a:hover, .hero-cta:hover { transform: none; }
}
.footer-bottom { max-width: 1052px; padding: 24px 0 32px; margin: 0 auto; }
@media (max-width: 1100px) { .footer-bottom { margin: 0 24px; } }
