/* Plus Jakarta Sans — self-hosted (SIL OFL); replaces Google Fonts CDN */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  /* Hybrid palette: Untitled UI blue structure + Caleido warm accents */
  --ui-blue: #2e90fa;
  --ui-blue-dark: #1570ef;
  --ui-blue-deep: #1849a9;
  --warm-orange: #ff6b3d;
  --warm-coral: #ff5a4a;
  --warm-amber: #ffb84d;

  /* Promotional Studio anchors (retained for shop panels) */
  --ps-teal: #00a99d;
  --ps-teal-dark: #00857c;
  --ps-teal-deep: #075c6e;
  --ps-blue-hero: #2e90fa;
  --ps-gold: #ffc20e;
  --ps-charcoal: #101828;
  --ps-bg: #f8fafc;

  --bg: var(--ps-bg);
  --surface: #ffffff;
  --text: #101828;
  --muted: #475467;
  --accent: var(--ui-blue);
  --accent-hover: var(--ui-blue-dark);
  --accent-soft: #eff8ff;
  --accent-warm: var(--warm-orange);
  --accent-gold: var(--ps-gold);
  --border: #eaecf0;
  --max: 76rem;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-md: 12px;
  --shadow-card: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-card-hover: 0 12px 24px rgba(16, 24, 40, 0.08);
  --shadow-glass: 0 8px 32px rgba(16, 24, 40, 0.14);
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  --font-heading: "Plus Jakarta Sans", var(--font-body);
  --fs-body: 1rem;
  --lh-body: 1.55;
  --footer-bg: #0f172a;
  --footer-text: #e2e8f0;
  --footer-link: #ffffff;
  --footer-link-hover: var(--warm-amber);
  --header-warm: #fff5f0;
  --header-warm-accent: #e85d4c;
  --header-warm-border: #ffd4c7;

html {
  font-size: 100%;
}

html[data-text-scale="sm"] {
  font-size: 93%;
}

html[data-text-scale="lg"] {
  font-size: 112%;
}

html[data-content-width="narrow"] {
  --max: 48rem;
}

html[data-content-width="wide"] {
  --max: 92rem;
}

html[data-content-width="narrow"] .header-inner {
  max-width: 52rem;
}

html[data-content-width="wide"] .header-inner {
  max-width: 96rem;
}

html[data-site-theme="dark"] {
  color-scheme: dark;
  --bg: #12151c;
  --surface: #1a1f2b;
  --text: #e8eaef;
  --muted: #a8b0c0;
  --accent: #6eb0f5;
  --accent-soft: #243044;
  --border: #2e3648;
}

html[data-site-theme="dark"] .site-header--nav-gradient .header-nav-row {
  background: linear-gradient(90deg, #1a2740, #243552);
}

html[data-site-theme="dark"] .callout-ok {
  background: #1a2e24;
  border-color: #2d5a40;
}

html[data-site-theme="dark"] .callout-warn {
  background: #2e2224;
  border-color: #5a3538;
}

html[data-site-theme="colorful"] {
  color-scheme: light;
  --bg: #f0f4ff;
  --surface: #ffffff;
  --text: #1a1530;
  --muted: #4a4378;
  --accent: #6b21a8;
  --accent-soft: #ede9fe;
  --border: #c4b5fd;
}

html[data-site-theme="colorful"] body {
  background: linear-gradient(180deg, #fef3c7 0%, #f0f4ff 18%, var(--bg) 42%);
  background-attachment: fixed;
}

html[data-site-theme="colorful"] .site-header--nav-gradient .header-nav-row {
  background: linear-gradient(90deg, #5b21b6, #0d9488);
}

html[data-site-theme="colorful"] .header-search-submit {
  border-color: var(--accent);
  background: var(--accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0%, rgba(46, 144, 250, 0.06), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(255, 107, 61, 0.05), transparent 32%),
    var(--bg);
}

h1, h2, h3, h4, h5, h6,
.hero h1,
.article h1,
.article-rich h1,
.topic-section-head h2,
.card h2,
.card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
}
.skip-link:focus {
  left: 1rem;
  z-index: 100;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  position: sticky;
  top: 0;
  z-index: 50;
  font-size: 1rem;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
}

.site-header--nav-gradient {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.site-header--compact .header-top-row {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.site-header--compact .header-nav-row {
  padding-top: 0.3rem;
  padding-bottom: 0.4rem;
}

.site-header--shadow {
  box-shadow: 0 4px 18px rgba(15, 20, 40, 0.08);
}

.nav--pills {
  gap: 0.35rem 0.45rem;
}

.nav--pills .nav-link,
.nav--pills .nav-dropdown-toggle.nav-link {
  background: var(--accent-soft);
  border: 1px solid transparent;
}

.nav--pills .nav-link:hover,
.nav--pills .nav-dropdown-toggle.nav-link:hover {
  background: color-mix(in srgb, var(--accent-soft), var(--accent) 10%);
}

.nav--pills .nav-link.is-active,
.nav--pills .nav-dropdown-toggle.nav-link.is-active {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.header-top-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  padding: 0.65rem 1.25rem;
  background: var(--header-top-bg, var(--surface));
  border-bottom: 1px solid var(--border);
}

.header-nav-row {
  padding: 0.4rem 1.25rem 0.55rem;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.site-header--nav-gradient .header-nav-row {
  background:
    radial-gradient(ellipse 55% 120% at 100% 50%, rgba(255, 107, 61, 0.35), transparent 58%),
    linear-gradient(90deg, var(--header-grad-start, #1849a9), var(--header-grad-end, #2e90fa));
  border-bottom: none;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.site-header--nav-gradient .header-nav-row .nav {
  justify-content: flex-start;
}

.site-header--nav-gradient .nav-link,
.site-header--nav-gradient .nav-dropdown-toggle.nav-link {
  color: var(--header-nav-fg, rgba(255, 255, 255, 0.95));
}

.site-header--nav-gradient .nav-link:hover,
.site-header--nav-gradient .nav-link:focus,
.site-header--nav-gradient .nav-dropdown-toggle.nav-link:hover,
.site-header--nav-gradient .nav-dropdown-toggle.nav-link:focus {
  color: var(--header-nav-fg, #ffffff);
  background: rgba(255, 255, 255, 0.14);
}

.site-header--nav-gradient .nav-link.is-active,
.site-header--nav-gradient .nav-dropdown-toggle.nav-link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
}

.site-header--nav-gradient .nav--pills .nav-link,
.site-header--nav-gradient .nav--pills .nav-dropdown-toggle.nav-link {
  background: rgba(255, 255, 255, 0.16);
  border-color: transparent;
}

.site-header--nav-gradient .nav--pills .nav-link:hover,
.site-header--nav-gradient .nav--pills .nav-dropdown-toggle.nav-link:hover {
  background: rgba(255, 255, 255, 0.24);
}

.site-header--nav-gradient .nav--pills .nav-link.is-active,
.site-header--nav-gradient .nav--pills .nav-dropdown-toggle.nav-link.is-active {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.35);
}

.header-leading {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem 1rem;
  flex-wrap: wrap;
  min-width: 0;
}

.header-phone {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover,
.header-phone:focus {
  color: var(--accent);
}

.header-phone--text {
  cursor: default;
}

.brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}
.brand--logo {
  font-weight: inherit;
  letter-spacing: inherit;
}
.brand-logo {
  display: block;
  max-height: var(--brand-logo-max, 2.25rem);
  width: auto;
  max-width: min(12rem, 42vw);
  height: auto;
  object-fit: contain;
}
.brand:hover .brand-logo,
.brand:focus .brand-logo {
  opacity: 0.92;
}
.brand:hover,
.brand:focus {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  font: inherit;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav {
  display: flex;
  gap: 0.2rem 0.35rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
}

.header-top-row .nav-toggle {
  margin-left: auto;
}

.header-search {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1 1 14rem;
  min-width: min(100%, 11rem);
  max-width: 22rem;
  margin-left: auto;
}

.header-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
}

.header-search input[type="search"]:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 1px;
  border-color: var(--accent);
}

.header-search-submit {
  font: inherit;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--ui-blue-dark) 100%);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(46, 144, 250, 0.25);
}

.header-search-submit:hover,
.header-search-submit:focus {
  background: var(--accent-hover, var(--ps-teal-dark));
}

.search-page-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.search-page-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.search-page-row input[type="search"] {
  flex: 1 1 16rem;
  min-width: 0;
  font: inherit;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 0.3rem 0.4rem;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--accent-hover, var(--accent));
  background: var(--accent-soft);
}

.nav-link.is-active {
  color: var(--accent-hover, var(--accent));
  font-weight: 600;
  background: var(--accent-soft);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
  border: none;
  background: transparent;
  font: inherit;
  text-align: inherit;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: min(22rem, calc(100vw - 2.5rem));
  max-width: 24rem;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  padding: 0.4rem 0;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 20, 40, 0.12);
  z-index: 80;
}

.nav-dropdown-panel[hidden] {
  display: none !important;
}

.nav-dropdown-link {
  display: block;
  padding: 0.4rem 0.95rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
  text-decoration: none;
  white-space: normal;
}

.nav-dropdown-overview {
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
  padding-bottom: 0.5rem;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-dropdown-link.is-active {
  color: var(--text);
  font-weight: 600;
  background: var(--accent-soft);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }
  .site-header {
    overflow: visible;
  }
  .header-inner {
    min-height: 0;
  }
  .header-nav-row {
    min-height: 0;
  }
  .header-nav-row .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    align-content: flex-start;
  }
  .header-nav-row .nav.is-open {
    display: flex;
    /* Long menus exceed the viewport; keep top bar visible and scroll links inside the panel. */
    max-height: calc(100vh - 9.5rem);
    max-height: calc(100svh - 9.5rem);
    max-height: calc(100dvh - 9.5rem);
    /* nowrap + column + max-height would otherwise create extra side columns (wrapped flex lines). */
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  }
  .header-leading {
    order: 1;
  }
  .header-top-row .nav-toggle {
    order: 3;
    margin-left: 0;
  }
  .header-search {
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0;
    order: 10;
  }
  .header-nav-row .nav > .nav-link,
  .header-nav-row .nav .nav-dropdown-toggle {
    width: 100%;
    text-align: left;
    box-sizing: border-box;
  }
  .nav-link {
    white-space: normal;
  }
  .header-nav-row .nav .nav-dropdown {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .nav-dropdown-panel {
    position: static;
    left: auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0.15rem 0 0.35rem 0.75rem;
    margin: 0 0 0.35rem;
    box-sizing: border-box;
  }
  .nav-dropdown-link {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

.topic-section {
  margin-bottom: 2.5rem;
}

.topic-section-head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.topic-section-head h2 a {
  color: var(--text);
  text-decoration: none;
}

.topic-section-head h2 a:hover,
.topic-section-head h2 a:focus {
  color: var(--accent-hover, var(--accent));
}

.topic-section-desc {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.933em;
  max-width: 40rem;
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
}

.card h3 a {
  color: var(--text);
  text-decoration: none;
}

.card h3 a:hover,
.card h3 a:focus {
  color: var(--accent-hover, var(--accent));
}

.topic-crumb {
  margin: 0 0 0.75rem;
  font-size: 0.876em;
}

.topic-crumb a {
  color: var(--muted);
}

.contact-panel {
  position: relative;
}

.contact-panel .intro {
  margin-top: 0;
}

.contact-hero-rich.lede :first-child,
.contact-note-rich.intro :first-child {
  margin-top: 0;
}

.contact-hero-rich.lede :last-child,
.contact-note-rich.intro :last-child {
  margin-bottom: 0;
}

.contact-hero-rich.lede p,
.contact-note-rich.intro p,
.contact-thankyou-rich p {
  margin: 0 0 0.75rem;
  line-height: 1.55;
}

.contact-thankyou-rich p:last-child {
  margin-bottom: 0;
}

.contact-hero-rich.lede a,
.contact-note-rich.intro a,
.contact-thankyou-rich a {
  color: var(--accent);
}

.contact-form {
  margin-top: 1rem;
  max-width: 36rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.857em;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font: inherit;
  background: var(--surface);
}

.form-help {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.btn-submit {
  font: inherit;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--warm-coral) 0%, var(--warm-orange) 100%);
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(255, 90, 74, 0.3);
}

.btn-submit:hover,
.btn-submit:focus {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 90, 74, 0.42);
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.callout-ok {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #e8f6ee;
  border: 1px solid #b5d9c5;
  margin: 0 0 1rem;
}

.callout-warn {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #fff4f4;
  border: 1px solid #e8bcbc;
  margin: 0 0 1rem;
}

.main {
  padding: 2rem 0 3rem;
}

.hero {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.hero .lede {
  margin: 0;
  color: var(--muted);
  font-size: 1em;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.5rem), 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.45rem 1.25rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}
.card h2 a {
  color: var(--text);
  text-decoration: none;
}
.card h2 a:hover,
.card h2 a:focus {
  color: var(--accent-hover, var(--accent));
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.933em;
}
.card .meta {
  margin-top: 0.75rem;
  font-size: 0.81em;
  color: var(--muted);
}

.article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: var(--shadow-card);
}
.article header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  line-height: 1.25;
}
.article .meta {
  color: var(--muted);
  font-size: 0.857em;
  margin-bottom: 1.25rem;
}
.article .intro {
  font-size: 1.029em;
  margin: 0 0 1.5rem;
}
.article section {
  margin-bottom: 1.75rem;
}
.article section:last-child {
  margin-bottom: 0;
}
.article h2 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.article p {
  margin: 0 0 0.75rem;
}
.article a {
  color: var(--accent);
}

.article-rich .rich-body {
  font-size: 0.972em;
}

.rich-body > *:first-child {
  margin-top: 0;
}

.rich-body p {
  margin: 0 0 0.9rem;
}

.rich-body h2 {
  font-size: 1.226em;
  margin: 2rem 0 0.6rem;
  line-height: 1.3;
}

.rich-body h3 {
  font-size: 1.059em;
  margin: 1.35rem 0 0.45rem;
  line-height: 1.35;
}

.rich-body ul,
.rich-body ol {
  margin: 0 0 1rem 1.1rem;
  padding: 0;
}

.rich-body li {
  margin: 0.35rem 0;
}

.rich-body blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--border);
  background: var(--bg);
  color: var(--muted);
}

.rich-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.931em;
  margin: 1rem 0;
}

.rich-body th,
.rich-body td {
  border: 1px solid var(--border);
  padding: 0.45rem 0.55rem;
  vertical-align: top;
}

.rich-body .callout {
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border));
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}

.rich-body a {
  color: var(--accent-hover, var(--accent));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rich-body a:hover,
.rich-body a:focus {
  color: var(--ps-teal-deep);
}

.rich-body .faq-item {
  margin: 1rem 0 0;
}

.rich-body .faq-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.029em;
}

.note {
  background: color-mix(in srgb, var(--accent-gold) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent-gold) 40%, var(--border));
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  margin: 1.5rem 0;
  font-size: 0.905em;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
th, td {
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--footer-bg, var(--surface));
  padding: 1.5rem 0 2rem;
  margin-top: 2rem;
}
.footer-inner p {
  margin: 0.35rem 0;
  color: var(--footer-text, var(--muted));
  font-size: 0.9rem;
}

.footer-disclosure {
  margin-bottom: 0.15rem;
}

.footer-disclosure a {
  font-weight: 600;
}
.footer-inner a {
  color: var(--footer-link, var(--accent));
}
.footer-inner a:hover,
.footer-inner a:focus {
  color: var(--footer-link-hover, var(--footer-link, var(--accent)));
}

.footer-ps-shop {
  margin: 0.85rem 0 1rem;
}

.footer-ps-shop__title {
  margin: 0 0 0.45rem;
}

.footer-ps-shop__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
}

.footer-ps-shop__cats a {
  font-size: 0.85rem;
}

.ps-topic-links {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.ps-topic-links a {
  color: var(--accent-hover, var(--accent));
  font-weight: 500;
}

.ps-shop-panel {
  margin: 2rem 0 0;
}

.ps-shop-panel__inner {
  background: linear-gradient(135deg, color-mix(in srgb, var(--ps-teal) 8%, var(--surface)) 0%, var(--surface) 100%);
  border: 1px solid color-mix(in srgb, var(--ps-teal) 22%, var(--border));
  border-left: 4px solid var(--ps-teal, var(--accent));
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem 1.35rem;
}

.ps-shop-panel__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ps-teal-deep, var(--accent));
}

.ps-shop-panel__title {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.ps-shop-panel__lede {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 62ch;
}

.ps-shop-panel__group {
  margin-top: 0.85rem;
}

.ps-shop-panel__heading {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.ps-shop-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.ps-shop-panel__list a {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent-hover, var(--accent));
  text-decoration: none;
}

.ps-shop-panel__list a:hover,
.ps-shop-panel__list a:focus {
  border-color: color-mix(in srgb, var(--ps-teal) 40%, var(--border));
  background: color-mix(in srgb, var(--ps-teal) 6%, var(--surface));
}

.ps-shop-panel__list--products a {
  font-weight: 400;
}

.ps-shop-panel__actions {
  margin: 1rem 0 0;
  font-size: 0.88rem;
}

.ps-shop-panel__actions a {
  font-weight: 600;
  color: var(--accent-hover, var(--accent));
}

/* ========== GUIDES HUB — Untitled UI layout + Caleido warmth ========== */
.guides-hero-band {
  background:
    radial-gradient(ellipse 70% 80% at 88% 12%, rgba(255, 107, 61, 0.42), transparent 52%),
    radial-gradient(circle at 12% 88%, rgba(255, 184, 77, 0.28), transparent 42%),
    radial-gradient(circle at 55% 35%, rgba(255, 255, 255, 0.1) 0%, transparent 35%),
    linear-gradient(135deg, #1849a9 0%, #2e90fa 48%, #1570ef 100%);
  color: #fff;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.guides-hero-band__blobs::before,
.guides-hero-band__blobs::after,
.guides-hero-band::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.guides-hero-band::before {
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  top: -18%;
  right: 8%;
  background: rgba(255, 255, 255, 0.08);
}

.guides-hero-band__blobs::before {
  width: min(28vw, 16rem);
  height: min(28vw, 16rem);
  bottom: -20%;
  left: 6%;
  background: rgba(255, 255, 255, 0.06);
}

.guides-hero-band__blobs::after {
  width: min(18vw, 10rem);
  height: min(18vw, 10rem);
  top: 22%;
  left: 42%;
  background: rgba(255, 184, 77, 0.18);
}

.guides-hero-band__inner {
  max-width: var(--max);
  position: relative;
  z-index: 1;
}

.guides-hero-band__grid {
  display: grid;
  gap: 2rem 3rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
}

@media (max-width: 860px) {
  .guides-hero-band__grid {
    grid-template-columns: 1fr;
  }
}

.guides-hero-eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.guides-hero-band h1 {
  color: #fff;
  max-width: 14ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.1rem, 4.8vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.guides-hero-band__lede {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.65;
  max-width: 42ch;
}

.guides-hero-band__note {
  margin: 0.75rem 0 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.guides-hero-band__note a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.guides-hero-band__note a:hover,
.guides-hero-band__note a:focus {
  color: rgba(255, 255, 255, 0.95);
}

.guides-search {
  margin-top: 0;
  max-width: 100%;
}

.guides-search__field {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.14);
}

.guides-search__input {
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1.4;
  color: #101828;
  background: #fff;
}

.guides-search__input:focus {
  outline: none;
}

.guides-search__field:focus-within {
  outline: 2px solid rgba(46, 144, 250, 0.75);
  outline-offset: 2px;
}

.guides-search__submit {
  flex: 0 0 auto;
  font: inherit;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--warm-coral) 0%, var(--warm-orange) 100%);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(255, 90, 74, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.guides-search__submit:hover,
.guides-search__submit:focus {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 90, 74, 0.42);
}

.guides-search__clear {
  position: absolute;
  top: 50%;
  right: calc(5.5rem + 0.35rem);
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.guides-search__clear:hover {
  background: #cbd5e1;
}

.guides-search__status {
  min-height: 1.25rem;
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
}

.guides-search-empty {
  text-align: center;
  padding: 2rem 0 1rem;
  color: var(--muted);
}

.guides-hub {
  padding-top: 0;
}

.guides-topic-block {
  padding: 2rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.topic-section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.guides-topic-block:last-child {
  border-bottom: 0;
}

.guides-card-list .guide-card[hidden] {
  display: none;
}

.guides-topic-block[hidden] {
  display: none;
}

/* Topic showcase — integrated category panels with per-topic colour themes */
.topic-showcase {
  padding: 0 0 2.25rem;
  border-bottom: 0;
}

.topic-showcase__shell {
  --topic-from: #5b21b6;
  --topic-to: #8b5cf6;
  --topic-accent: #c4b5fd;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid color-mix(in srgb, var(--topic-to) 24%, var(--border));
  background: var(--surface);
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.04),
    0 8px 28px color-mix(in srgb, var(--topic-from) 14%, transparent);
  overflow: hidden;
}

.topic-showcase__masthead {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1.15rem 1.75rem;
  padding: clamp(0.85rem, 1.8vw, 1.1rem) clamp(1.15rem, 2.8vw, 1.65rem);
  color: #fff;
  background:
    radial-gradient(ellipse 75% 110% at 100% 0%, color-mix(in srgb, var(--topic-accent) 55%, transparent), transparent 58%),
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.08), transparent 50%),
    linear-gradient(135deg, var(--topic-from) 0%, var(--topic-to) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 0;
}

.topic-showcase__masthead--page {
  border-radius: calc(var(--radius-lg) + 4px) calc(var(--radius-lg) + 4px) 0 0;
}

.topic-showcase__shell--page {
  margin-bottom: 1.75rem;
}

.topic-showcase__intro {
  flex: 1 1 auto;
  min-width: 0;
  align-self: center;
}

.topic-showcase__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.topic-showcase__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.topic-showcase__title a {
  color: inherit;
  text-decoration: none;
}

.topic-showcase__title a:hover,
.topic-showcase__title a:focus {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.topic-showcase__title--page {
  margin: 0 0 0.45rem;
}

.topic-showcase__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  max-width: 52ch;
}

.topic-showcase__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-top: 0.7rem;
}

.topic-showcase__stat {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topic-showcase__shop {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}

.topic-showcase__shop a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-decoration: none;
}

.topic-showcase__shop a:hover,
.topic-showcase__shop a:focus {
  text-decoration: underline;
}

.topic-showcase__shop-sep {
  margin: 0 0.35rem;
  opacity: 0.55;
}

.topic-showcase__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.topic-showcase__cta:hover,
.topic-showcase__cta:focus {
  background: rgba(255, 255, 255, 0.28);
  border-color: #fff;
  transform: translateY(-1px);
}

.topic-showcase__body {
  padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1.15rem, 2.8vw, 1.65rem) clamp(1.15rem, 2.2vw, 1.5rem);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--topic-accent) 12%, var(--surface)) 0%, var(--surface) 100%);
}

.topic-showcase__body--page {
  border-radius: 0 0 calc(var(--radius-lg) + 4px) calc(var(--radius-lg) + 4px);
}

.topic-showcase__cards {
  gap: 1.15rem;
}

.topic-showcase__footer {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.topic-showcase__more {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--topic-from);
  text-decoration: none;
}

.topic-showcase__more:hover,
.topic-showcase__more:focus {
  color: var(--topic-to);
  text-decoration: underline;
}

.topic-visual {
  position: relative;
  display: flex;
  flex: 0 0 clamp(8rem, 15vw, 11rem);
  width: clamp(8rem, 15vw, 11rem);
  min-width: 0;
  align-self: stretch;
}

.topic-visual__frame {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  border-radius: 0.85rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0.2rem 0.25rem;
}

.topic-visual__svg {
  display: block;
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
}

@media (max-width: 900px) {
  .topic-showcase__masthead {
    gap: 0.9rem 1.15rem;
  }

  .topic-visual {
    flex-basis: clamp(6.25rem, 22vw, 8rem);
    width: clamp(6.25rem, 22vw, 8rem);
  }

  .topic-showcase__desc {
    max-width: none;
  }
}

.guides-card-list .card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.guides-card-list .card h3 a {
  color: var(--text);
  text-decoration: none;
}

.guides-card-list .card h3 a:hover,
.guides-card-list .card h3 a:focus {
  color: var(--accent);
}

/* Pill tags (Untitled UI blog cards) */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: auto 0 0;
  padding-top: 1rem;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.pill-tag--muted {
  color: var(--muted);
  font-weight: 500;
  background: color-mix(in srgb, var(--bg) 70%, var(--surface));
}

/* ========== HEADER — Untitled UI + Caleido refs ========== */
.site-header--ref {
  position: sticky;
  top: 0;
  z-index: 60;
  font-size: 1rem;
}

.site-header--ref .header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: 1rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}

/* Hero-integrated header (Untitled UI — white nav on blue) */
.site-header--hero {
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 107, 61, 0.22), transparent 42%),
    linear-gradient(90deg, #1849a9 0%, #2e90fa 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.site-header--hero .brand,
.site-header--hero .brand-text,
.site-header--hero .header-nav__link,
.site-header--hero .nav-mega__toggle,
.site-header--hero .nav-dropdown-toggle {
  color: rgba(255, 255, 255, 0.92);
}

.site-header--hero .header-nav__link:hover,
.site-header--hero .header-nav__link:focus,
.site-header--hero .nav-mega__toggle:hover,
.site-header--hero .nav-dropdown-toggle:hover {
  color: #fff;
}

.site-header--hero .header-nav__link.is-active,
.site-header--hero .nav-mega__toggle.is-active,
.site-header--hero .nav-dropdown-toggle.is-active {
  color: #fff;
}

.site-header--hero .brand-icon .brand-icon__bg,
.site-header--hero .brand-icon rect:first-child {
  fill: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 0 0 1px rgba(255, 255, 255, 0.25));
}

.site-header--hero .brand-icon path:not([stroke]) {
  fill: #1849a9;
  fill-opacity: 1;
}

.site-header--hero .brand-icon path[stroke] {
  stroke: rgba(255, 255, 255, 0.9);
}

.site-header--hero .btn-header--ghost {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
  background: transparent;
}

.site-header--hero .btn-header--ghost:hover,
.site-header--hero .btn-header--ghost:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.site-header--hero .header-icon-btn {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

.site-header--hero .header-search-panel {
  background: rgba(24, 73, 169, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header--hero .header-search-form input[type="search"] {
  background: rgba(255, 255, 255, 0.95);
  border-color: transparent;
}

/* Solid white header (inner pages) */
.site-header--solid {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.site-header--solid .header-nav__link,
.site-header--solid .nav-mega__toggle,
.site-header--solid .nav-dropdown-toggle {
  color: var(--muted);
}

.site-header--solid .header-nav__link:hover,
.site-header--solid .nav-mega__toggle:hover,
.site-header--solid .nav-dropdown-toggle:hover,
.site-header--solid .header-nav__link.is-active,
.site-header--solid .nav-mega__toggle.is-active,
.site-header--solid .nav-dropdown-toggle.is-active {
  color: var(--text);
}

.site-header--solid .btn-header--ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.site-header--solid .btn-header--ghost:hover,
.site-header--solid .btn-header--ghost:focus {
  border-color: var(--ui-blue);
  color: var(--ui-blue);
  background: var(--accent-soft);
}

.site-header--solid .header-search-panel {
  background: #fff;
  border-top: 1px solid var(--border);
}

/* Brand icon + wordmark */
.brand--mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
}

.brand-icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: block;
}

.site-header--solid .brand-icon .brand-icon__bg,
.site-header--solid .brand-icon rect:first-child {
  fill: #1849a9;
}

.site-header--ref .brand-text {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 11rem;
}

.site-header--ref .brand-logo {
  max-height: 2rem;
}

/* Primary nav — text links with chevrons */
.site-header--ref .header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1.75rem;
  flex-wrap: wrap;
  min-width: 0;
}

.site-header--ref .header-nav__link,
.site-header--ref .nav-mega__toggle,
.site-header--ref .nav-dropdown-toggle {
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.25rem 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.site-header--ref .header-nav__link--chevron::after,
.site-header--ref .nav-mega__toggle::after,
.site-header--ref .nav-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.35rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-0.1rem);
  vertical-align: 0.1rem;
  opacity: 0.7;
}

.site-header--ref .header-nav__link.is-active,
.site-header--ref .nav-mega__toggle.is-active,
.site-header--ref .nav-dropdown-toggle.is-active {
  font-weight: 700;
}

/* CTA group — ghost + solid coral (Caleido) */
.site-header--ref .header-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-header--ghost {
  border: 1px solid var(--border);
  background: transparent;
}

.btn-header--solid {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--warm-coral) 0%, var(--warm-orange) 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(255, 90, 74, 0.28);
}

.btn-header--solid:hover,
.btn-header--solid:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 90, 74, 0.38);
}

.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}

.header-icon-btn:hover,
.header-icon-btn:focus {
  color: var(--text);
  border-color: var(--ui-blue);
}

.site-header--ref .header-search-panel {
  padding: 0.85rem 0;
}

.site-header--ref .header-search-form {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  max-width: 36rem;
  margin: 0 auto;
}

.site-header--ref .header-search-form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
}

.site-header--ref .nav-toggle {
  display: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  cursor: pointer;
  grid-column: 3;
  justify-self: end;
}

.site-header--solid .nav-toggle {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

/* Mega menu & dropdowns */
.nav-mega {
  position: relative;
}

.nav-mega__panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: min(44rem, calc(100vw - 2.5rem));
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(16, 24, 40, 0.12);
  z-index: 90;
}

.nav-mega__panel[hidden] {
  display: none !important;
}

.nav-mega__intro {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.nav-mega__title {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.nav-mega__lede {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-mega__grid {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nav-mega__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-mega__item:hover,
.nav-mega__item:focus {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--ui-blue) 20%, var(--border));
}

.nav-mega__item.is-active {
  background: color-mix(in srgb, var(--ui-blue) 8%, var(--surface));
  border-color: color-mix(in srgb, var(--ui-blue) 30%, var(--border));
}

.nav-mega__item-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.nav-mega__item-desc {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-header--ref .nav-dropdown-panel {
  min-width: min(20rem, calc(100vw - 2.5rem));
  top: calc(100% + 14px);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 32px rgba(16, 24, 40, 0.12);
}

.site-header--ref .nav-dropdown-panel--articles {
  right: 0;
  left: auto;
}

/* Home: seamless hero under header */
body.has-hero-header .main {
  padding-top: 0;
}

body.has-hero-header .guides-hero-band {
  margin-top: 0;
  margin-bottom: 2.5rem;
  border-radius: 0;
}

@media (max-width: 1024px) {
  .nav-mega__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header--ref .header-shell {
    gap: 1rem;
  }

  .site-header--ref .header-nav {
    gap: 0.25rem 1.15rem;
  }
}

@media (max-width: 860px) {
  .site-header--ref .header-shell {
    grid-template-columns: 1fr auto auto;
    position: relative;
  }

  .site-header--ref .nav-toggle {
    display: inline-flex;
  }

  .site-header--ref .header-cta .btn-header {
    display: none;
  }

  .site-header--ref .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1rem;
    background: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 24px rgba(16, 24, 40, 0.12);
    max-height: calc(100dvh - 4rem);
    overflow-y: auto;
  }

  .site-header--solid .header-nav {
    background: #fff;
    border-bottom-color: var(--border);
  }

  .site-header--ref .header-nav.is-open {
    display: flex;
  }

  .site-header--ref .header-nav__link,
  .site-header--ref .nav-mega__toggle,
  .site-header--ref .nav-dropdown-toggle {
    width: 100%;
    text-align: left;
    padding: 0.55rem 0;
  }

  .nav-mega__panel,
  .site-header--ref .nav-dropdown-panel {
    position: static;
    transform: none;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0.35rem 0 0.5rem 0.75rem;
    margin-bottom: 0.35rem;
  }

  .nav-mega__grid {
    grid-template-columns: 1fr;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: color-mix(in srgb, var(--muted) 60%, transparent);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
  color: var(--header-warm-accent);
}

/* Topic layout with sidebar */
.topic-layout {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  align-items: start;
}

.topic-layout > .breadcrumbs {
  grid-column: 1 / -1;
}

.topic-layout__main {
  min-width: 0;
}

.topic-sidebar {
  position: sticky;
  top: 5.5rem;
  max-height: calc(100dvh - 6.5rem);
  overflow-y: auto;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.topic-sidebar__heading,
.topic-sidebar__subheading {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.topic-sidebar__subheading {
  margin-top: 1.25rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  color: var(--text);
}

.topic-sidebar__topics,
.topic-sidebar__guides {
  list-style: none;
  margin: 0;
  padding: 0;
}

.topic-sidebar__topic,
.topic-sidebar__guide {
  display: block;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
  text-decoration: none;
}

.topic-sidebar__topic {
  font-weight: 600;
}

.topic-sidebar__guide {
  font-weight: 500;
}

.topic-sidebar__topic:hover,
.topic-sidebar__topic:focus,
.topic-sidebar__guide:hover,
.topic-sidebar__guide:focus {
  color: var(--header-warm-accent);
  background: var(--header-warm);
}

.topic-sidebar__topic.is-active,
.topic-sidebar__guide.is-active {
  color: var(--header-warm-accent);
  background: rgba(232, 93, 76, 0.1);
  font-weight: 700;
}

.topic-sidebar__guides {
  counter-reset: guide;
}

.topic-sidebar__guides li {
  margin: 0.15rem 0;
}

.topic-count {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.topic-view-all {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.topic-view-all a {
  color: var(--header-warm-accent);
  text-decoration: none;
}

.topic-view-all a:hover,
.topic-view-all a:focus {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .topic-layout {
    grid-template-columns: 1fr;
  }

  .topic-sidebar {
    position: static;
    max-height: none;
  }
}

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.pagination__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination__link,
.pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.pagination__link:hover,
.pagination__link:focus,
.pagination__page:hover,
.pagination__page:focus {
  border-color: var(--header-warm-accent);
  color: var(--header-warm-accent);
}

.pagination__page.is-current {
  background: var(--header-warm-accent);
  border-color: var(--header-warm-accent);
  color: #fff;
}

.pagination__link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Guide prev/next pager */
.guide-pager {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.guide-pager__link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.guide-pager__link:hover,
.guide-pager__link:focus {
  border-color: var(--header-warm-accent);
  box-shadow: var(--shadow-card);
}

.guide-pager__prev {
  text-align: left;
}

.guide-pager__next {
  text-align: right;
  grid-column: 2;
}

.guide-pager__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.guide-pager__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.guide-pager__link.is-empty {
  visibility: hidden;
  border: 0;
  padding: 0;
}

@media (max-width: 640px) {
  .guide-pager {
    grid-template-columns: 1fr;
  }

  .guide-pager__next {
    grid-column: 1;
    text-align: left;
  }
}

/* —— Interactive tools —— */
.tools-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.tools-hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  height: 100%;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.tools-hub-card:hover,
a.tools-hub-card:focus {
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
}

.tools-hub-card__badge {
  display: inline-flex;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.tools-hub-card__badge--soon {
  color: var(--muted);
  background: #f2f4f7;
}

.tools-hub-card h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.tools-hub-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}

.tools-hub-card__cta {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--accent-hover);
}

.tool-page .tool-panel {
  margin: 1.25rem 0 1.75rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.tool-panel__grid {
  display: grid;
  gap: 1rem;
}

.tool-upload {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  background: #fafbfc;
}

.tool-upload h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.tool-upload__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 0.6rem 0 0.3rem;
}

.tool-upload__row input[type="file"] {
  max-width: 100%;
}

.tool-upload__facts {
  margin: 0.45rem 0 0;
  padding-left: 1.1rem;
}

.tool-upload__facts li {
  margin: 0.2rem 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.tool-panel__grid--form {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  margin-bottom: 1.25rem;
}

.tool-fieldset {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fafbfc;
}

.tool-fieldset legend {
  padding: 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tool-choice {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.45rem 0;
  font-size: 0.92rem;
  line-height: 1.4;
  cursor: pointer;
}

.tool-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.tool-field input,
.tool-field select {
  font: inherit;
  font-weight: 500;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.tool-results {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.tool-scoreline {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.tool-score {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-hover);
  line-height: 1;
}

.tool-score-max,
.tool-score-label {
  color: var(--muted);
  font-weight: 600;
}

.tool-results h3 {
  margin: 1rem 0 0.4rem;
  font-size: 0.95rem;
}

.tool-results ul {
  margin: 0;
  padding-left: 1.15rem;
}

.tool-results li {
  margin: 0.3rem 0;
  line-height: 1.45;
}

.tool-disclaimer,
.tool-note {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.roi-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.roi-stats div {
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid #d1e9ff;
}

.roi-stats dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 0.25rem;
}

.roi-stats dd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--text);
}

.dm-rank {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.dm-rank__item {
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fafbfc;
}

.dm-rank__item h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.05rem;
}

.dm-rank__badge {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.dm-rank__best {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.dm-rank__score {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 650;
}

.dm-not-fit__title {
  margin: 1rem 0 0.5rem;
  font-size: 0.95rem;
  color: #7a271a;
}

.dm-not-fit {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.dm-not-fit__item {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #fecdca;
  border-radius: var(--radius-md);
  background: #fff5f4;
}

.dm-not-fit__item span {
  color: #7a271a;
  font-size: 0.86rem;
  line-height: 1.4;
}

.dm-not-fit__score {
  font-weight: 700;
}

.tool-aftermath {
  margin-top: 2rem;
  display: grid;
  gap: 1.75rem;
}

.tool-ps-cta {
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #eff8ff, #fff5f0);
  border: 1px solid var(--border);
}

.tool-ps-cta__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.tool-ps-cta__copy {
  margin: 0 0 0.9rem;
  line-height: 1.5;
}

.tool-ps-cta__actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tool-topics__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.tool-topics__list a {
  display: inline-flex;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--surface);
}

.tool-faqs .faq-item {
  margin: 0.85rem 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.tool-faqs .faq-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.tools-topic-block {
  margin: 1.75rem 0 0.5rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: #fffaf7;
}

.tools-topic-block__title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.tools-topic-block__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.tools-topic-block__item a,
.tools-topic-block__soon {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.tools-topic-block__item a:hover {
  border-color: var(--accent);
}

.tools-topic-block__item span,
.tools-topic-block__soon span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.tools-topic-block__all {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  font-weight: 650;
}

.tool-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.tool-share__status {
  font-size: 0.85rem;
  color: var(--muted);
}

.tool-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
}

.tool-table th,
.tool-table td {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  text-align: left;
}

.tool-table th {
  background: #fafbfc;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.tool-results h4 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.05rem;
}

.tool-tier-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border-radius: 999px;
  vertical-align: middle;
}
