:root { --ink: #20282d; --blue: #335cff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body { width: 100%; min-height: 100%; margin: 0; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.adina-wide { width: min(100% - 72px, 1440px); margin: 0 auto; padding-inline: 0; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: auto; max-width: 100%; height: auto; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 10px 14px; color: #fff; background: #20282d; transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 760px) { .adina-wide { width: min(100% - 28px, 1320px); } }
/* Cantonese-first lead-magnet knowledge pages */
.lead-magnet-page {
  margin: 0;
  overflow-x: hidden;
  color: #1d252a;
  background: #f7f8fa;
  font-family: Inter, "Noto Sans HK", "PingFang HK", "Microsoft JhengHei", sans-serif;
}

.lead-magnet-page *,
.lead-magnet-page *::before,
.lead-magnet-page *::after {
  box-sizing: border-box;
}

.lead-magnet-page h1,
.lead-magnet-page h2,
.lead-magnet-page h3,
.lead-magnet-page p,
.lead-magnet-page ul {
  margin-top: 0;
}

.lead-magnet-page a {
  text-decoration: none;
}

.lm-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(29, 37, 42, 0.1);
  background: rgba(247, 248, 250, 0.94);
  backdrop-filter: blur(18px);
}

.lm-header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 34px;
}

.lm-header .brand {
  flex: 0 0 auto;
}

.lm-header .brand-logo {
  width: 170px;
  height: auto;
}

.lm-header nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 28px;
}

.lm-header nav a {
  color: #273037;
  font-size: 14px;
  font-weight: 700;
}

.lm-header nav a:hover,
.lm-header nav a:focus-visible {
  color: #335cff;
}

.lm-header-cta {
  display: inline-flex;
  min-height: 46px;
  padding: 0 21px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  color: #fff;
  background: #20282d;
  font-size: 14px;
  font-weight: 800;
}

.lm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 92px 0 84px;
  background:
    radial-gradient(circle at 82% 24%, rgba(51, 92, 255, 0.18), transparent 28%),
    radial-gradient(circle at 8% 80%, rgba(98, 58, 255, 0.12), transparent 32%),
    #eef1f7;
}

.lm-hero::before,
.lm-hero::after {
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(51, 92, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.lm-hero::before {
  top: -250px;
  left: 22%;
  box-shadow: 0 0 0 70px rgba(51, 92, 255, 0.035), 0 0 0 140px rgba(51, 92, 255, 0.025);
}

.lm-hero::after {
  right: -210px;
  bottom: -250px;
  box-shadow: 0 0 0 70px rgba(51, 92, 255, 0.035), 0 0 0 140px rgba(51, 92, 255, 0.025);
}

.lm-hero-mark {
  position: absolute;
  z-index: -1;
  top: 34px;
  right: 3vw;
  width: min(28vw, 340px);
  height: auto;
  opacity: 0.045;
  transform: rotate(9deg);
}

.lm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.75fr);
  align-items: end;
  gap: clamp(50px, 8vw, 120px);
}

.lm-eyebrow,
.lm-kicker {
  margin-bottom: 18px;
  color: #335cff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lm-hero h1 {
  max-width: 880px;
  margin-bottom: 26px;
  color: #1e262b;
  font-size: clamp(48px, 5.4vw, 82px);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.lm-intro {
  max-width: 800px;
  margin-bottom: 34px;
  color: #626d75;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.75;
}

.lm-hero-actions,
.lm-final-cta-inner > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.lm-button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.lm-button:hover,
.lm-button:focus-visible {
  transform: translateY(-2px);
}

.lm-button-primary {
  color: #fff;
  background: #335cff;
  box-shadow: 0 16px 34px rgba(51, 92, 255, 0.23);
}

.lm-button-primary:hover,
.lm-button-primary:focus-visible {
  color: #fff;
  background: #2449e8;
  box-shadow: 0 20px 44px rgba(51, 92, 255, 0.3);
}

.lm-text-link,
.lm-final-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #273037;
  font-size: 14px;
  font-weight: 800;
}

.lm-byline {
  margin: 24px 0 0;
  color: #78828a;
  font-size: 12px;
  line-height: 1.5;
}

.lm-answer-card {
  padding: 34px;
  border: 1px solid rgba(29, 37, 42, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(33, 45, 64, 0.11);
  backdrop-filter: blur(16px);
}

.lm-answer-card > span {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #335cff;
  background: rgba(51, 92, 255, 0.09);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.lm-answer-card p {
  margin-bottom: 0;
  color: #4e5961;
  font-size: 15px;
  line-height: 1.85;
}

.lm-answer-card strong {
  color: #1f272c;
}

.lm-cluster-nav {
  border-top: 1px solid rgba(29, 37, 42, 0.08);
  border-bottom: 1px solid rgba(29, 37, 42, 0.08);
  background: #fff;
}

.lm-cluster-nav .adina-wide {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.lm-cluster-nav .adina-wide::-webkit-scrollbar {
  display: none;
}

.lm-cluster-nav a {
  flex: 0 0 auto;
  padding: 22px 23px;
  border-right: 1px solid rgba(29, 37, 42, 0.08);
  color: #68727a;
  font-size: 13px;
  font-weight: 800;
}

.lm-cluster-nav a:first-child {
  border-left: 1px solid rgba(29, 37, 42, 0.08);
}

.lm-cluster-nav a[aria-current="page"] {
  color: #fff;
  background: #20282d;
}

/* The resource-hub pill leads the cluster bar and reads as the parent of the
   five guides, so it is tinted rather than sharing the sibling pills' plain
   background. On resources.html itself it also carries aria-current="page",
   which wins on source order and renders it dark like any other current page. */
.lm-cluster-nav a.lm-cluster-hub {
  color: #20282d;
  background: #f4f6fa;
}

.lm-cluster-nav a.lm-cluster-hub:hover,
.lm-cluster-nav a.lm-cluster-hub:focus-visible {
  color: #335cff;
}

.lm-section {
  padding: 104px 0;
  background: #fff;
}

.lm-section-heading {
  max-width: 850px;
  margin-bottom: 48px;
}

.lm-section-heading h2,
.lm-tool-intro h2,
.lm-sources h2,
.lm-final-cta h2 {
  margin-bottom: 18px;
  color: #20282d;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.lm-section-heading > p:last-child,
.lm-tool-intro > p,
.lm-sources-grid > div > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: #69737a;
  font-size: 16px;
  line-height: 1.75;
}

.lm-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.lm-card-grid article {
  min-height: 310px;
  padding: 32px;
  border: 1px solid #e1e5ea;
  border-radius: 26px;
  background: #f7f8fa;
}

.lm-card-grid article > span {
  display: block;
  margin-bottom: 58px;
  color: #335cff;
  font-size: 13px;
  font-weight: 900;
}

.lm-card-grid h2 {
  margin-bottom: 15px;
  color: #20282d;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.lm-card-grid p,
.lm-insight-grid p,
.lm-faq-grid p {
  margin-bottom: 0;
  color: #657078;
  font-size: 14px;
  line-height: 1.75;
}

.lm-section-dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(51, 92, 255, 0.25), transparent 34%),
    #171f24;
}

.lm-section-dark .lm-section-heading h2 {
  color: #fff;
}

.lm-section-dark .lm-kicker {
  color: #8199ff;
}

.lm-workflow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.13);
}

.lm-workflow article {
  display: grid;
  min-height: 180px;
  padding: 32px;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  background: #1e282e;
}

.lm-workflow article > b {
  color: #8199ff;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.lm-workflow h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
}

.lm-workflow p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.75;
}

.lm-tool-section {
  background:
    linear-gradient(rgba(51, 92, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 92, 255, 0.045) 1px, transparent 1px),
    #f5f7fb;
  background-size: 48px 48px;
}

.lm-tool-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(48px, 8vw, 120px);
}

.lm-tool-intro {
  position: sticky;
  top: 32px;
}

.lm-button-outline {
  margin-top: 26px;
  border: 1px solid #20282d;
  color: #20282d;
  background: transparent;
}

.lm-button-outline:hover,
.lm-button-outline:focus-visible {
  color: #fff;
  background: #20282d;
}

.lm-checklist {
  display: grid;
  gap: 10px;
}

.lm-checklist label {
  display: block;
  margin: 0;
  cursor: pointer;
}

.lm-checklist input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.lm-checklist label > span {
  display: grid;
  min-height: 72px;
  padding: 14px 20px;
  border: 1px solid #dce2e9;
  border-radius: 18px;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #333d44;
  background: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
  transition: border 160ms ease, background 160ms ease, transform 160ms ease;
}

.lm-checklist label > span::after {
  width: 24px;
  height: 24px;
  margin-left: auto;
  border: 2px solid #c7cfd7;
  border-radius: 7px;
  content: "";
  grid-column: 3;
}

.lm-checklist label > span > b {
  color: #879198;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.lm-checklist input:checked + span {
  border-color: rgba(51, 92, 255, 0.5);
  color: #1f2b45;
  background: rgba(51, 92, 255, 0.08);
}

.lm-checklist input:checked + span::after {
  border-color: #335cff;
  background: #335cff;
  box-shadow: inset 0 0 0 5px #fff;
}

.lm-checklist input:focus-visible + span {
  outline: 3px solid rgba(51, 92, 255, 0.25);
  outline-offset: 3px;
}

.lm-insight-grid,
.lm-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lm-insight-grid article,
.lm-faq-grid article {
  padding: 30px;
  border: 1px solid #e3e7eb;
  border-radius: 24px;
  background: #fff;
}

.lm-insight-grid h3,
.lm-faq-grid h3 {
  margin-bottom: 14px;
  color: #20282d;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 800;
}

.lm-keywords {
  margin-top: 60px;
  padding: 32px;
  border: 1px solid #e1e5ea;
  border-radius: 24px;
  background: #f7f8fa;
}

.lm-keywords h2 {
  margin-bottom: 18px;
  color: #20282d;
  font-size: 18px;
  font-weight: 800;
}

.lm-keywords ul {
  display: flex;
  margin: 0 0 16px;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.lm-keywords li {
  padding: 8px 12px;
  border-radius: 999px;
  color: #536069;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.lm-keywords p {
  margin: 0;
  color: #5f696f;
  font-size: 12px;
  line-height: 1.6;
}

.lm-faq-section {
  background: #f5f6f8;
}

.lm-sources {
  padding-top: 84px;
  padding-bottom: 84px;
}

.lm-sources-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(45px, 8vw, 110px);
}

.lm-sources h2 {
  font-size: clamp(32px, 3.5vw, 48px);
}

.lm-sources ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid #dfe4e8;
  list-style: none;
}

.lm-sources li {
  border-bottom: 1px solid #dfe4e8;
}

.lm-sources a {
  display: flex;
  min-height: 74px;
  padding: 16px 5px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #303a41;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 750;
}

.lm-sources a:hover,
.lm-sources a:focus-visible {
  color: #335cff;
}

.lm-final-cta {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 76% 20%, rgba(89, 117, 255, 0.32), transparent 25%),
    linear-gradient(135deg, #161d22 0%, #202c34 100%);
}

.lm-final-cta > img {
  position: absolute;
  right: -6%;
  bottom: -6%;
  width: min(57vw, 850px);
  height: auto;
  opacity: 0.72;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.32));
}

.lm-final-cta-inner {
  position: relative;
  z-index: 2;
  padding-top: 110px;
  padding-bottom: 110px;
}

.lm-final-cta h2 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
}

.lm-final-cta-inner > p:not(.lm-kicker) {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.75;
}

.lm-button-light {
  color: #20282d;
  background: #fff;
}

.lm-final-link {
  color: #fff;
}

.lm-final-cta small {
  display: block;
  max-width: 650px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  line-height: 1.6;
}

.lm-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.64);
  background: #11171b;
}

.lm-footer .adina-wide {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lm-footer .brand-logo {
  width: 150px;
  height: auto;
}

.lm-footer p {
  margin: 0;
  font-size: 12px;
}

.lm-footer div > div {
  display: flex;
  margin-left: auto;
  gap: 22px;
}

.lm-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .lm-header-inner {
    min-height: 70px;
  }

  .lm-header nav {
    display: none;
  }

  .lm-header-cta {
    margin-left: auto;
  }

  .lm-hero {
    padding: 72px 0 64px;
  }

  .lm-hero-grid,
  .lm-tool-grid,
  .lm-sources-grid {
    grid-template-columns: 1fr;
  }

  .lm-hero-grid {
    gap: 42px;
  }

  .lm-answer-card {
    max-width: 720px;
  }

  .lm-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lm-tool-intro {
    position: static;
  }

  .lm-final-cta > img {
    right: -18%;
    width: 76vw;
    opacity: 0.38;
  }
}

@media (max-width: 767px) {
  .lm-header-inner {
    width: min(100% - 28px, 1320px);
  }

  .lm-header .brand-logo {
    width: 142px;
  }

  .lm-header-cta {
    min-height: 40px;
    padding: 0 15px;
    font-size: 12px;
  }

  .lm-hero {
    padding: 54px 0 48px;
  }

  .lm-hero .adina-wide,
  .lm-section .adina-wide,
  .lm-final-cta .adina-wide,
  .lm-footer .adina-wide {
    width: min(100% - 32px, 1320px);
  }

  .lm-hero h1 {
    font-size: clamp(39px, 11.5vw, 55px);
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .lm-intro {
    font-size: 16px;
    line-height: 1.72;
  }

  .lm-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lm-hero-actions .lm-button {
    width: 100%;
  }

  .lm-text-link {
    align-self: center;
  }

  .lm-answer-card {
    padding: 25px;
    border-radius: 22px;
  }

  .lm-answer-card p {
    font-size: 14px;
  }

  .lm-cluster-nav .adina-wide {
    width: 100%;
    padding-left: 16px;
  }

  .lm-cluster-nav a {
    padding: 18px 16px;
    font-size: 12px;
  }

  .lm-section {
    padding: 74px 0;
  }

  .lm-section-heading {
    margin-bottom: 34px;
  }

  .lm-section-heading h2,
  .lm-tool-intro h2,
  .lm-sources h2 {
    font-size: 36px;
  }

  .lm-card-grid,
  .lm-workflow,
  .lm-insight-grid,
  .lm-faq-grid {
    grid-template-columns: 1fr;
  }

  .lm-card-grid article {
    min-height: 0;
    padding: 26px;
  }

  .lm-card-grid article > span {
    margin-bottom: 35px;
  }

  .lm-workflow article {
    min-height: 0;
    padding: 26px 22px;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .lm-checklist label > span {
    min-height: 68px;
    padding: 13px 14px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    font-size: 13px;
  }

  .lm-checklist label > span::after {
    width: 21px;
    height: 21px;
  }

  .lm-keywords {
    margin-top: 40px;
    padding: 24px;
  }

  .lm-final-cta {
    min-height: 720px;
  }

  .lm-final-cta-inner {
    padding-top: 82px;
    padding-bottom: 300px;
  }

  .lm-final-cta h2 {
    font-size: 42px;
  }

  .lm-final-cta > img {
    right: -36%;
    bottom: 0;
    width: 130vw;
    opacity: 0.62;
  }

  .lm-final-cta-inner > div {
    align-items: stretch;
    flex-direction: column;
  }

  .lm-final-cta .lm-button {
    width: 100%;
  }

  .lm-final-link {
    align-self: center;
  }

  .lm-footer .adina-wide {
    align-items: flex-start;
    flex-direction: column;
  }

  .lm-footer div > div {
    margin-left: 0;
    flex-direction: column;
    gap: 8px;
  }
}

@media print {
  .lead-magnet-page {
    color: #000;
    background: #fff;
  }

  .lm-header,
  .lm-hero,
  .lm-cluster-nav,
  .lm-section:not(.lm-tool-section),
  .lm-final-cta,
  .lm-footer,
  .lm-tool-intro .lm-button {
    display: none !important;
  }

  .lm-tool-section {
    padding: 0;
    background: #fff;
  }

  .lm-tool-grid {
    display: block;
    width: 100%;
  }

  .lm-tool-intro {
    margin-bottom: 24px;
  }

  .lm-tool-intro h2 {
    color: #000;
    font-size: 28px;
  }

  .lm-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lm-checklist label > span {
    break-inside: avoid;
    color: #000;
    background: #fff;
  }
}

/* Resource hub guide cards (resources.html) */
.lm-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lm-guide-grid-wide {
  grid-template-columns: minmax(0, 1fr);
}

.lm-guide-card {
  display: flex;
  padding: 32px;
  flex-direction: column;
  border: 1px solid #e1e5ea;
  border-radius: 26px;
  background: #f7f8fa;
}

.lm-guide-tag {
  margin: 0 0 16px;
  color: #335cff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.lm-guide-card h3 {
  margin: 0 0 14px;
  color: #20282d;
  font-size: 23px;
  line-height: 1.32;
  font-weight: 800;
}

.lm-guide-card h3 a {
  color: inherit;
}

.lm-guide-card h3 a span {
  margin-left: 8px;
  color: #335cff;
}

.lm-guide-card h3 a:hover,
.lm-guide-card h3 a:focus-visible {
  color: #335cff;
}

.lm-guide-summary {
  margin: 0 0 20px;
  color: #657078;
  font-size: 14px;
  line-height: 1.75;
}

.lm-guide-meta {
  margin: auto 0 0;
  padding-top: 16px;
  border-top: 1px solid #dfe4e8;
  color: #536069;
  font-size: 13px;
  line-height: 1.8;
}

.lm-guide-meta b {
  color: #20282d;
  font-weight: 800;
}

@media (max-width: 767px) {
  .lm-guide-grid {
    grid-template-columns: 1fr;
  }

  .lm-guide-card {
    padding: 26px;
  }

  .lm-guide-card h3 {
    font-size: 20px;
  }
}

@media print {
  .resource-hub .lm-hero,
  .resource-hub .lm-section {
    display: block !important;
  }

  .resource-hub .lm-section {
    padding: 18px 0;
  }

  .resource-hub .lm-guide-grid {
    display: block;
  }

  .resource-hub .lm-guide-card {
    margin-bottom: 14px;
    border-color: #999;
    background: #fff;
    break-inside: avoid;
  }

  .resource-hub .lm-guide-card h3 a::after {
    content: " — covenantdesk.hk/" attr(href);
    font-size: 12px;
    font-weight: 600;
  }
}
/* End resource hub guide cards */

/* End Cantonese-first lead-magnet knowledge pages */
